public class RegistrationState
extends java.lang.Object
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.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_AUTHENTICATING |
static java.lang.String |
_AUTHENTICATION_FAILED |
static java.lang.String |
_CHALLENGED_FOR_AUTHENTICATION |
static java.lang.String |
_CONNECTION_FAILED |
static java.lang.String |
_EXPIRED |
static java.lang.String |
_FINALIZING_REGISTRATION |
static java.lang.String |
_REGISTERED |
static java.lang.String |
_REGISTERING |
static java.lang.String |
_UNREGISTERED |
static java.lang.String |
_UNREGISTERING |
static java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if the specified object is equal to this provider state.
|
java.lang.String |
getStateName()
Returns a String representation of the provider state.
|
int |
hashCode() |
java.lang.String |
toString()
Returns a String representation of the provider state.
|
public static final RegistrationState INIT
public static final java.lang.String _REGISTERING
public static final RegistrationState REGISTERING
public static final java.lang.String _CHALLENGED_FOR_AUTHENTICATION
public static final RegistrationState CHALLENGED_FOR_AUTHENTICATION
public static final java.lang.String _AUTHENTICATING
public static final RegistrationState AUTHENTICATING
public static final java.lang.String _FINALIZING_REGISTRATION
public static final RegistrationState FINALIZING_REGISTRATION
public static final java.lang.String _REGISTERED
public static final RegistrationState REGISTERED
public static final java.lang.String _CONNECTION_FAILED
public static final RegistrationState CONNECTION_FAILED
public static final java.lang.String _AUTHENTICATION_FAILED
public static final RegistrationState AUTHENTICATION_FAILED
public static final java.lang.String _UPDATING_REGISTRATION
public static final RegistrationState UPDATING_REGISTRATION
public static final java.lang.String _EXPIRED
public static final RegistrationState EXPIRED
public static final java.lang.String _UNREGISTERING
public static final RegistrationState UNREGISTERING
public static final java.lang.String _UNREGISTERED
public static final RegistrationState UNREGISTERED
public java.lang.String getStateName()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to compare this provider state with.public int hashCode()
hashCode
in class java.lang.Object
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.