public class SocketInBandRegistrationXmppSessionLogic extends Object implements XmppSessionLogic
XmppSessionLogic.SessionListener, XmppSessionLogic.XmppSessionEstablishedHandler
Constructor and Description |
---|
SocketInBandRegistrationXmppSessionLogic(SocketConnector connector,
XmppModulesManager modulesManager,
Context context) |
Modifier and Type | Method and Description |
---|---|
void |
beforeStart()
Method executed just before login process is started.
|
protected void |
processException(JaxmppException e) |
protected void |
processStreamFeatures(SessionObject sessionObject,
Element featuresElement) |
void |
setSessionListener(XmppSessionLogic.SessionListener sessionListener)
|
void |
unbind()
In this method implementation must unregister all previously registered
listeners.
|
public SocketInBandRegistrationXmppSessionLogic(SocketConnector connector, XmppModulesManager modulesManager, Context context)
public void beforeStart() throws JaxmppException
XmppSessionLogic
beforeStart
in interface XmppSessionLogic
JaxmppException
protected void processException(JaxmppException e) throws JaxmppException
JaxmppException
protected void processStreamFeatures(SessionObject sessionObject, Element featuresElement) throws JaxmppException
JaxmppException
public void setSessionListener(XmppSessionLogic.SessionListener sessionListener) throws JaxmppException
XmppSessionLogic
setSessionListener
in interface XmppSessionLogic
sessionListener
- XmppSessionLogic.SessionListenerJaxmppException
public void unbind() throws JaxmppException
XmppSessionLogic
unbind
in interface XmppSessionLogic
JaxmppException
Copyright © 2006–2023 Tigase. All rights reserved.