OpenScape
V3.2, Revision 044 20100322

com.siemens.symphonia.bcom.bcommon.external
Interface RegistrationState

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
RegistrationStateImpl

public interface RegistrationState
extends java.io.Serializable

Final subscription state.

Defines the final subscription states of event listeners. See RegistrationListener for more details.

Note: Java 1.5 enum types are not used because Java 1.4 compatibility is a requirement.


Field Summary
static RegistrationState SUBSCRIBE_ERROR
          Subscription request failed.
static RegistrationState SUBSCRIBE_OK
          Subscription request has been successful completed.
static RegistrationState UNSUBSCRIBE_ERROR
          Request to unsubscribe failed.
static RegistrationState UNSUBSCRIBE_OK
          Request to unsubscribe has been successful completed.
 
Method Summary
 boolean isEqual(RegistrationState registrationState)
          Compare this objects for equality.
 

Field Detail

SUBSCRIBE_OK

static final RegistrationState SUBSCRIBE_OK
Subscription request has been successful completed.


SUBSCRIBE_ERROR

static final RegistrationState SUBSCRIBE_ERROR
Subscription request failed.

The user/device is not subscribed. I.e. there will be no events for this user/device. To send requests is discouraged from because the communication graph is not properly updated.


UNSUBSCRIBE_OK

static final RegistrationState UNSUBSCRIBE_OK
Request to unsubscribe has been successful completed.


UNSUBSCRIBE_ERROR

static final RegistrationState UNSUBSCRIBE_ERROR
Request to unsubscribe failed.

It is undefined whether there will still be events delivered.

Method Detail

isEqual

boolean isEqual(RegistrationState registrationState)
Compare this objects for equality.

Parameters:
registrationState - the registration state to be compared.
Returns:
true, if the registration states are equal, otherwise false.

OpenScape
V3.2, Revision 044 20100322

Copyright (c) 2014 Unify, Germany
All rights reserved.

This software is the confidential and proprietary information of Unify, Germany