com.sun.media.jsdt.event
Class ChannelAdaptor

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

public abstract class ChannelAdaptor
extends java.lang.Object
implements ChannelListener

The adaptor which receives Channel 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
ChannelAdaptor()
           
 
Method Summary
 void channelConsumerAdded(ChannelEvent event)
           invoked when a Client has added a Consumer to this Channel.
 void channelConsumerRemoved(ChannelEvent event)
           invoked when a Client has removed a Consumer from this Channel.
 void channelExpelled(ChannelEvent event)
           invoked when a Client has been expelled from a Channel.
 void channelInvited(ChannelEvent event)
           invoked when a Client has been invited to join a Channel.
 void channelJoined(ChannelEvent event)
           invoked when a Client has joined a Channel.
 void channelLeft(ChannelEvent event)
           invoked when a Client has left a Channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelAdaptor

public ChannelAdaptor()
Method Detail

channelJoined

public void channelJoined(ChannelEvent event)
invoked when a Client has joined a Channel.
Specified by:
channelJoined in interface ChannelListener
Parameters:
event - the Channel event containing more information.

channelLeft

public void channelLeft(ChannelEvent event)
invoked when a Client has left a Channel.
Specified by:
channelLeft in interface ChannelListener
Parameters:
event - the Channel event containing more information.

channelInvited

public void channelInvited(ChannelEvent event)
invoked when a Client has been invited to join a Channel.
Specified by:
channelInvited in interface ChannelListener
Parameters:
event - the Channel event containing more information.

channelExpelled

public void channelExpelled(ChannelEvent event)
invoked when a Client has been expelled from a Channel.
Specified by:
channelExpelled in interface ChannelListener
Parameters:
event - the Channel event containing more information.

channelConsumerAdded

public void channelConsumerAdded(ChannelEvent event)
invoked when a Client has added a Consumer to this Channel.
Specified by:
channelConsumerAdded in interface ChannelListener
Parameters:
event - the Channel event containing more information.
Since:
JSDT 1.2

channelConsumerRemoved

public void channelConsumerRemoved(ChannelEvent event)
invoked when a Client has removed a Consumer from this Channel.
Specified by:
channelConsumerRemoved in interface ChannelListener
Parameters:
event - the Channel event containing more information.
Since:
JSDT 1.2