pl.mn.communicator
Class Session

java.lang.Object
  extended by pl.mn.communicator.Session
All Implemented Interfaces:
ISession

public class Session
extends java.lang.Object
implements ISession

Created on 2004-11-28

Version:
$Id: Session.java,v 1.1 2005/11/05 23:34:52 winnetou25 Exp $
Author:
Mateusz Szczap

Nested Class Summary
 class Session.SessionAccessor
           
 
Constructor Summary
Session()
           
Session(IGGConfiguration configuration)
           
 
Method Summary
 void addSessionStateListener(SessionStateListener sessionStateListener)
           
 IConnectionService getConnectionService()
           
 IContactListService getContactListService()
           
 IGGConfiguration getGGConfiguration()
           
 ILoginService getLoginService()
           
 IMessageService getMessageService()
           
 IPresenceService getPresenceService()
           
 IPublicDirectoryService getPublicDirectoryService()
           
 IRegistrationService getRegistrationService()
           
 Session.SessionAccessor getSessionAccessor()
           
 SessionState getSessionState()
          Returns state of this session.
protected  void notifySessionStateChanged(SessionState oldState, SessionState newState)
           
 void removeSessionStateListener(SessionStateListener sessionStateListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Session

public Session(IGGConfiguration configuration)

Session

public Session()
Method Detail

getSessionState

public SessionState getSessionState()
Description copied from interface: ISession
Returns state of this session.

Specified by:
getSessionState in interface ISession
Returns:
SessionState

getGGConfiguration

public IGGConfiguration getGGConfiguration()
Specified by:
getGGConfiguration in interface ISession
See Also:
pl.mn.communicator.ISession#getConfiguration()

addSessionStateListener

public void addSessionStateListener(SessionStateListener sessionStateListener)
Specified by:
addSessionStateListener in interface ISession

removeSessionStateListener

public void removeSessionStateListener(SessionStateListener sessionStateListener)
Specified by:
removeSessionStateListener in interface ISession

getConnectionService

public IConnectionService getConnectionService()
Specified by:
getConnectionService in interface ISession
See Also:
ISession.getConnectionService()

getLoginService

public ILoginService getLoginService()
Specified by:
getLoginService in interface ISession
See Also:
ISession.getLoginService()

getMessageService

public IMessageService getMessageService()
Specified by:
getMessageService in interface ISession
See Also:
ISession.getMessageService()

getPresenceService

public IPresenceService getPresenceService()
Specified by:
getPresenceService in interface ISession
See Also:
ISession.getPresenceService()

getPublicDirectoryService

public IPublicDirectoryService getPublicDirectoryService()
Specified by:
getPublicDirectoryService in interface ISession
See Also:
ISession.getPublicDirectoryService()

getContactListService

public IContactListService getContactListService()
Specified by:
getContactListService in interface ISession
See Also:
ISession.getContactListService()

getRegistrationService

public IRegistrationService getRegistrationService()
Specified by:
getRegistrationService in interface ISession
See Also:
ISession.getRegistrationService()

notifySessionStateChanged

protected void notifySessionStateChanged(SessionState oldState,
                                         SessionState newState)

getSessionAccessor

public Session.SessionAccessor getSessionAccessor()


Copyright 2004-2004-2005 SourceForge.net. All Rights Reserved.