com.sun.media.jsdt.event
Class SessionAdaptor

java.lang.Object
  |
  +--com.sun.media.jsdt.event.SessionAdaptor

public abstract class SessionAdaptor
extends java.lang.Object
implements SessionListener

The adaptor which receives Session events. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.

Since:
JSDT 1.0
Version:
1.5 - 7th January 1999
Author:
Rich Burridge
See Also:
Serialized Form

Constructor Summary
SessionAdaptor()
           
 
Method Summary
 void byteArrayCreated(SessionEvent event)
           invoked when a ByteArray has been created.
 void byteArrayDestroyed(SessionEvent event)
           invoked when a ByteArray has been destroyed.
 void channelCreated(SessionEvent event)
           invoked when a Channel has been created.
 void channelDestroyed(SessionEvent event)
           invoked when a Channel has been destroyed.
 void sessionDestroyed(SessionEvent event)
           invoked when a Client has destroyed a Session.
 void sessionExpelled(SessionEvent event)
           invoked when a Client has been expelled from a Session.
 void sessionInvited(SessionEvent event)
           invoked when a Client has been invited to join a Session.
 void sessionJoined(SessionEvent event)
           invoked when a Client has joined a Session.
 void sessionLeft(SessionEvent event)
           invoked when a Client has left a Session.
 void tokenCreated(SessionEvent event)
           invoked when a Token has been created.
 void tokenDestroyed(SessionEvent event)
           invoked when a Token has been destroyed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionAdaptor

public SessionAdaptor()
Method Detail

byteArrayCreated

public void byteArrayCreated(SessionEvent event)
invoked when a ByteArray has been created.
Specified by:
byteArrayCreated in interface SessionListener
Parameters:
event - the Session event containing more information.

byteArrayDestroyed

public void byteArrayDestroyed(SessionEvent event)
invoked when a ByteArray has been destroyed.
Specified by:
byteArrayDestroyed in interface SessionListener
Parameters:
event - the Session event containing more information.

channelCreated

public void channelCreated(SessionEvent event)
invoked when a Channel has been created.
Specified by:
channelCreated in interface SessionListener
Parameters:
event - the Session event containing more information.

channelDestroyed

public void channelDestroyed(SessionEvent event)
invoked when a Channel has been destroyed.
Specified by:
channelDestroyed in interface SessionListener
Parameters:
event - the Session event containing more information.

sessionDestroyed

public void sessionDestroyed(SessionEvent event)
invoked when a Client has destroyed a Session.
Specified by:
sessionDestroyed in interface SessionListener
Parameters:
event - the Session event containing more information.

sessionJoined

public void sessionJoined(SessionEvent event)
invoked when a Client has joined a Session.
Specified by:
sessionJoined in interface SessionListener
Parameters:
event - the Session event containing more information.

sessionLeft

public void sessionLeft(SessionEvent event)
invoked when a Client has left a Session.
Specified by:
sessionLeft in interface SessionListener
Parameters:
event - the Session event containing more information.

sessionInvited

public void sessionInvited(SessionEvent event)
invoked when a Client has been invited to join a Session.
Specified by:
sessionInvited in interface SessionListener
Parameters:
event - the Session event containing more information.

sessionExpelled

public void sessionExpelled(SessionEvent event)
invoked when a Client has been expelled from a Session.
Specified by:
sessionExpelled in interface SessionListener
Parameters:
event - the Session event containing more information.

tokenCreated

public void tokenCreated(SessionEvent event)
invoked when a Token has been created.
Specified by:
tokenCreated in interface SessionListener
Parameters:
event - the Session event containing more information.

tokenDestroyed

public void tokenDestroyed(SessionEvent event)
invoked when a Token has been destroyed.
Specified by:
tokenDestroyed in interface SessionListener
Parameters:
event - the Session event containing more information.