tigase.jaxmpp.core.client.connector
Class BoshXmppSessionLogic

java.lang.Object
  extended by tigase.jaxmpp.core.client.connector.BoshXmppSessionLogic
All Implemented Interfaces:
XmppSessionLogic

public class BoshXmppSessionLogic
extends Object
implements XmppSessionLogic


Nested Class Summary
 
Nested classes/interfaces inherited from interface tigase.jaxmpp.core.client.XmppSessionLogic
XmppSessionLogic.SessionListener
 
Field Summary
static String AUTHORIZED
          Deprecated. 
 
Constructor Summary
BoshXmppSessionLogic(Connector connector, XmppModulesManager modulesManager, SessionObject sessionObject, PacketWriter writer)
           
 
Method Summary
 void beforeStart()
          Method executed just before login process is started.
protected  void processException(JaxmppException e)
           
protected  void processNonSaslEvent(NonSaslAuthModule.NonSaslAuthEvent be)
           
protected  void processResourceBindEvent(ResourceBinderModule.ResourceBindEvent be)
           
protected  void processSaslEvent(SaslModule.SaslEvent be)
           
protected  void processStreamFeatures(StreamFeaturesModule.StreamFeaturesReceivedEvent be)
           
 void setSessionListener(XmppSessionLogic.SessionListener sessionListener)
          Set XmppSessionLogic.SessionListener.
 void unbind()
          In this method implementation must unregister all previously registered listeners.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTHORIZED

@Deprecated
public static final String AUTHORIZED
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

BoshXmppSessionLogic

public BoshXmppSessionLogic(Connector connector,
                            XmppModulesManager modulesManager,
                            SessionObject sessionObject,
                            PacketWriter writer)
Method Detail

beforeStart

public void beforeStart()
                 throws JaxmppException
Description copied from interface: XmppSessionLogic
Method executed just before login process is started. In this method implementation should register listeners.

Specified by:
beforeStart in interface XmppSessionLogic
Throws:
JaxmppException

processException

protected void processException(JaxmppException e)
                         throws JaxmppException
Throws:
JaxmppException

processNonSaslEvent

protected void processNonSaslEvent(NonSaslAuthModule.NonSaslAuthEvent be)
                            throws JaxmppException
Throws:
JaxmppException

processResourceBindEvent

protected void processResourceBindEvent(ResourceBinderModule.ResourceBindEvent be)
                                 throws JaxmppException
Throws:
JaxmppException

processSaslEvent

protected void processSaslEvent(SaslModule.SaslEvent be)
                         throws JaxmppException
Throws:
JaxmppException

processStreamFeatures

protected void processStreamFeatures(StreamFeaturesModule.StreamFeaturesReceivedEvent be)
                              throws JaxmppException
Throws:
JaxmppException

setSessionListener

public void setSessionListener(XmppSessionLogic.SessionListener sessionListener)
                        throws JaxmppException
Description copied from interface: XmppSessionLogic
Set XmppSessionLogic.SessionListener.

Specified by:
setSessionListener in interface XmppSessionLogic
Parameters:
sessionListener - XmppSessionLogic.SessionListener
Throws:
JaxmppException

unbind

public void unbind()
            throws JaxmppException
Description copied from interface: XmppSessionLogic
In this method implementation must unregister all previously registered listeners.

Specified by:
unbind in interface XmppSessionLogic
Throws:
JaxmppException


Copyright © 2006-2012 Tigase. All Rights Reserved.