|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionObject
Session object is for store state of connection, modules etc. All states will be removed on reset (clear() method}).
| Field Summary | |
|---|---|
static String |
DOMAIN_NAME
Name of property used to keep logical name of XMPP server. |
static String |
NICKNAME
Name of property used to keep users nickname |
static String |
PASSWORD
Name of property used to keep users password |
static String |
RESOURCE
Name of property used to keep XMPP resource |
static String |
SERVER_NAME
Deprecated. |
static String |
USER_BARE_JID
Name of property used to keep users JID |
| Method Summary | ||
|---|---|---|
void |
checkHandlersTimeout()
Method for process stanzas without response. |
|
void |
clear()
Reset state. |
|
JID |
getBindedJid()
Returns users JID binded on server. |
|
PresenceStore |
getPresence()
Returns Store of known presences. |
|
|
getProperty(String key)
Returns property |
|
RosterStore |
getRoster()
Returns roster store |
|
Element |
getStreamFeatures()
Returns XMPP Stream features |
|
BareJID |
getUserBareJid()
Returns users JID |
|
SessionObject |
setProperty(String key,
Object value)
Set property. |
|
void |
setStreamFeatures(Element element)
Set XMPP Stream features |
|
| Methods inherited from interface tigase.jaxmpp.core.client.UserProperties |
|---|
getUserProperty, setUserProperty |
| Field Detail |
|---|
static final String DOMAIN_NAME
static final String NICKNAME
static final String PASSWORD
static final String RESOURCE
@Deprecated static final String SERVER_NAME
static final String USER_BARE_JID
| Method Detail |
|---|
void checkHandlersTimeout()
throws JaxmppException
stanzas without response.
JaxmppException
void clear()
throws JaxmppException
JaxmppExceptionJID getBindedJid()
PresenceStore getPresence()
<T> T getProperty(String key)
key - property name
RosterStore getRoster()
Element getStreamFeatures()
BareJID getUserBareJid()
SessionObject setProperty(String key,
Object value)
key - property namevalue - property value. null to unset property.
this SessionObjectvoid setStreamFeatures(Element element)
element - element contains features
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||