uk.org.ogsadai.sessions
Interface SessionListener

All Known Implementing Classes:
SessionEventDispatcher, SessionTerminator

public interface SessionListener

The listener interface for receiving session events. Any class that is interested in processing session events must implements this interface.

A session listener object can be registered with an InternalSession object using the addSessionListener() method. After registration, the session listener will be notified whenever a session participant joins or leaves that session. The SessionEvent class is used to encapsulate details of the event.

Author:
The OGSA-DAI Project Team

Method Summary
 void sessionCleanedUp(SessionEvent event)
          Invoked when a session is cleaned up during its termination.
 void sessionJoined(SessionEvent event)
          Invoked when a session participant joins a session.
 void sessionLeft(SessionEvent event)
          Invoked when a session participant leaves a session.
 

Method Detail

sessionJoined

public void sessionJoined(SessionEvent event)
Invoked when a session participant joins a session.

Parameters:
event - Describes the details of the event.

sessionLeft

public void sessionLeft(SessionEvent event)
Invoked when a session participant leaves a session.

Parameters:
event - Describes the details of the event.

sessionCleanedUp

public void sessionCleanedUp(SessionEvent event)
Invoked when a session is cleaned up during its termination.

Parameters:
event - Describes the details of the event.