|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.protocol.RegistrationState
public class RegistrationState
The class represents a set of states that a protocol provider may take while registering, logging in, or signing on to a public service server, such as a SIP registrar, the ICQ/AIM login and registration servers or a Jabber server. States are generally supposed to be appearing in the following order:
Note that the order strongly depends on the particular protocol, which may also influence the exact states that might actually be entered.
For more information on the particular states, please check the documentation for each of them.
| Field Summary | |
|---|---|
static String |
_AUTHENTICATING
|
static String |
_AUTHENTICATION_FAILED
|
static String |
_CHALLENGED_FOR_AUTHENTICATION
|
static String |
_CONNECTION_FAILED
|
static String |
_EXPIRED
|
static String |
_FINALIZING_REGISTRATION
|
static String |
_REGISTERED
|
static String |
_REGISTERING
|
static String |
_UNREGISTERED
|
static String |
_UNREGISTERING
|
static String |
_UPDATING_REGISTRATION
|
static RegistrationState |
AUTHENTICATING
In the process of authenticating. |
static RegistrationState |
AUTHENTICATION_FAILED
Registration has failed because of a problem with the authentication. |
static RegistrationState |
CHALLENGED_FOR_AUTHENTICATION
The registrar service requires authentication and we are about to send one. |
static RegistrationState |
CONNECTION_FAILED
Registration has failed for a technical reason, such as connection disruption for example. |
static RegistrationState |
EXPIRED
The registration has expired. |
static RegistrationState |
FINALIZING_REGISTRATION
Representing any transition state after authentication is completed and before it has been completed. |
static RegistrationState |
INIT
The initial state of a protocol provider, assigned to it upon creation and before any registration action has been undertaken by the user. |
static RegistrationState |
REGISTERED
Registration has completed successfully and we are currently signed on the registration service. |
static RegistrationState |
REGISTERING
A transition state indicating that registration has been undertaken but has not yet been confirmed by the registrar server/service. |
static RegistrationState |
UNREGISTERED
The Protocol Provider is not registered. |
static RegistrationState |
UNREGISTERING
The Protocol Provider is being unregistered. |
static RegistrationState |
UPDATING_REGISTRATION
Indicates that a protocol provider is currently updating its registration. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if the specified object is equal to this provider state. |
String |
getStateName()
Returns a String representation of the provider state. |
String |
toString()
Returns a String representation of the provider state. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final RegistrationState INIT
public static final String _REGISTERING
public static final RegistrationState REGISTERING
public static final String _CHALLENGED_FOR_AUTHENTICATION
public static final RegistrationState CHALLENGED_FOR_AUTHENTICATION
public static final String _AUTHENTICATING
public static final RegistrationState AUTHENTICATING
public static final String _FINALIZING_REGISTRATION
public static final RegistrationState FINALIZING_REGISTRATION
public static final String _REGISTERED
public static final RegistrationState REGISTERED
public static final String _CONNECTION_FAILED
public static final RegistrationState CONNECTION_FAILED
public static final String _AUTHENTICATION_FAILED
public static final RegistrationState AUTHENTICATION_FAILED
public static final String _UPDATING_REGISTRATION
public static final RegistrationState UPDATING_REGISTRATION
public static final String _EXPIRED
public static final RegistrationState EXPIRED
public static final String _UNREGISTERING
public static final RegistrationState UNREGISTERING
public static final String _UNREGISTERED
public static final RegistrationState UNREGISTERED
| Method Detail |
|---|
public String getStateName()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - the object to compare this provider state with.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||