com.cafesoft.cams.session
Class RemoteSessionEventSupport

java.lang.Object
  extended by com.cafesoft.cams.session.RemoteSessionEventSupport
All Implemented Interfaces:
Recyclable

public class RemoteSessionEventSupport
extends Object
implements Recyclable

RemoteSessionEventSupport is a helper class for managing RemoteSessionEventListener registrations and notifications.


Constructor Summary
RemoteSessionEventSupport()
          Create a new RemoteSessionEventSupport instance.
 
Method Summary
 void addRemoteSessionEventListener(RemoteSessionEventListener listener)
          Add a RemoteSessionEventListener to this component.
 void fireRemoteSessionEvent(RemoteSessionEvent event)
          Notify all RemoteSessionEventListeners of a RemoteSessionEvent.
 void recycle()
          Recycle the resources of this object
 void removeRemoteSessionEventListener(RemoteSessionEventListener listener)
          Remove a RemoteSessionEventListener from this component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteSessionEventSupport

public RemoteSessionEventSupport()
Create a new RemoteSessionEventSupport instance.

Method Detail

addRemoteSessionEventListener

public void addRemoteSessionEventListener(RemoteSessionEventListener listener)
Add a RemoteSessionEventListener to this component.

Parameters:
listener - The listener to add

removeRemoteSessionEventListener

public void removeRemoteSessionEventListener(RemoteSessionEventListener listener)
Remove a RemoteSessionEventListener from this component.

Parameters:
listener - The listener to remove

fireRemoteSessionEvent

public void fireRemoteSessionEvent(RemoteSessionEvent event)
Notify all RemoteSessionEventListeners of a RemoteSessionEvent.


recycle

public void recycle()
Recycle the resources of this object

Specified by:
recycle in interface Recyclable


Generated on 10:38:35 AM April 14, 2011, © 1996-2010 Cafésoft LLC. All rights reserved.