Package rocks.xmpp.extensions.csi.model
Class ClientState
- java.lang.Object
-
- rocks.xmpp.extensions.csi.model.ClientState
-
- All Implemented Interfaces:
StreamElement
public abstract class ClientState extends Object implements StreamElement
Represents a client state, i.e. active or inactive.Because elements of Client State Indication are stateless, instances of this class are static singletons.
ClientState.ACTIVE; ClientState.INACTIVE; ClientState.FEATURE;
- See Also:
- XEP-0352: Client State Indication,
ACTIVE
,INACTIVE
,FEATURE
-
-
Field Summary
Fields Modifier and Type Field Description static ClientState
ACTIVE
The active state.static StreamFeature
FEATURE
The stream feature for servers to advertise support for client state indication.static ClientState
INACTIVE
The inactive state.static String
NAMESPACE
urn:xmpp:csi:0
-
-
-
Field Detail
-
FEATURE
public static final StreamFeature FEATURE
The stream feature for servers to advertise support for client state indication.
-
ACTIVE
public static final ClientState ACTIVE
The active state.
-
INACTIVE
public static final ClientState INACTIVE
The inactive state.
-
NAMESPACE
public static final String NAMESPACE
urn:xmpp:csi:0- See Also:
- Constant Field Values
-
-