tigase.jaxmpp.core.client
Interface XmppSessionLogic

All Known Implementing Classes:
BoshXmppSessionLogic

public interface XmppSessionLogic

Interface for classes with session logic.

Author:
bmalkow

Nested Class Summary
static interface XmppSessionLogic.SessionListener
          Interface for session listener.
 
Method Summary
 void beforeStart()
          Method executed just before login process is started.
 void setSessionListener(XmppSessionLogic.SessionListener listener)
          Set XmppSessionLogic.SessionListener.
 void unbind()
          In this method implementation must unregister all previously registered listeners.
 

Method Detail

beforeStart

void beforeStart()
                 throws JaxmppException
Method executed just before login process is started. In this method implementation should register listeners.

Throws:
JaxmppException

setSessionListener

void setSessionListener(XmppSessionLogic.SessionListener listener)
                        throws JaxmppException
Set XmppSessionLogic.SessionListener.

Parameters:
listener - XmppSessionLogic.SessionListener
Throws:
JaxmppException

unbind

void unbind()
            throws JaxmppException
In this method implementation must unregister all previously registered listeners.

Throws:
JaxmppException


Copyright © 2006-2012 Tigase. All Rights Reserved.