public class BoshXmppSessionLogic extends Object implements XmppSessionLogic
XmppSessionLogic.SessionListener| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHORIZED
Deprecated.
|
| Constructor and Description |
|---|
BoshXmppSessionLogic(Connector connector,
XmppModulesManager modulesManager,
SessionObject sessionObject,
PacketWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeStart()
Method executed just before login process is started.
|
protected void |
processException(JaxmppException e) |
protected void |
processNonSaslEvent(NonSaslAuthModule.NonSaslAuthEvent be) |
void |
processResourceBindEvent() |
protected void |
processSaslEvent(SaslModule.SaslEvent be) |
protected void |
processStreamFeatures(StreamFeaturesModule.StreamFeaturesReceivedEvent be) |
void |
setSessionListener(XmppSessionLogic.SessionListener sessionListener)
|
void |
unbind()
In this method implementation must unregister all previously registered
listeners.
|
@Deprecated public static final String AUTHORIZED
public BoshXmppSessionLogic(Connector connector, XmppModulesManager modulesManager, SessionObject sessionObject, PacketWriter writer)
public void beforeStart()
throws JaxmppException
XmppSessionLogicbeforeStart in interface XmppSessionLogicJaxmppExceptionprotected void processException(JaxmppException e) throws JaxmppException
JaxmppExceptionprotected void processNonSaslEvent(NonSaslAuthModule.NonSaslAuthEvent be) throws JaxmppException
JaxmppExceptionpublic void processResourceBindEvent()
throws JaxmppException
JaxmppExceptionprotected void processSaslEvent(SaslModule.SaslEvent be) throws JaxmppException
JaxmppExceptionprotected void processStreamFeatures(StreamFeaturesModule.StreamFeaturesReceivedEvent be) throws JaxmppException
JaxmppExceptionpublic void setSessionListener(XmppSessionLogic.SessionListener sessionListener) throws JaxmppException
XmppSessionLogicsetSessionListener in interface XmppSessionLogicsessionListener - XmppSessionLogic.SessionListenerJaxmppExceptionpublic void unbind()
throws JaxmppException
XmppSessionLogicunbind in interface XmppSessionLogicJaxmppExceptionCopyright © 2006–2014 Tigase. All rights reserved.