org.atmosphere.cpr
Class BroadcasterLifeCyclePolicyListenerAdapter

java.lang.Object
  extended by org.atmosphere.cpr.BroadcasterLifeCyclePolicyListenerAdapter
All Implemented Interfaces:
BroadcasterLifeCyclePolicyListener

public class BroadcasterLifeCyclePolicyListenerAdapter
extends Object
implements BroadcasterLifeCyclePolicyListener

Simple adapter listener to be used to track BroadcasterLifeCyclePolicy events.

Author:
Jeanfrancois Arcand

Constructor Summary
BroadcasterLifeCyclePolicyListenerAdapter()
           
 
Method Summary
 void onDestroy()
          Both method Broadcaster.releaseExternalResources() and Broadcaster.destroy() are about to be invoked.
 void onEmpty()
          Invoked when a Broadcaster's list of AtmosphereResource becomes empty, e.g the broadcaster has no longer resource associated with it.
 void onIdle()
          Invoke when a Broadcaster has no activitie.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadcasterLifeCyclePolicyListenerAdapter

public BroadcasterLifeCyclePolicyListenerAdapter()
Method Detail

onEmpty

public void onEmpty()
Description copied from interface: BroadcasterLifeCyclePolicyListener
Invoked when a Broadcaster's list of AtmosphereResource becomes empty, e.g the broadcaster has no longer resource associated with it.

Specified by:
onEmpty in interface BroadcasterLifeCyclePolicyListener

onIdle

public void onIdle()
Description copied from interface: BroadcasterLifeCyclePolicyListener
Invoke when a Broadcaster has no activitie.

Specified by:
onIdle in interface BroadcasterLifeCyclePolicyListener

onDestroy

public void onDestroy()
Description copied from interface: BroadcasterLifeCyclePolicyListener
Both method Broadcaster.releaseExternalResources() and Broadcaster.destroy() are about to be invoked.

Specified by:
onDestroy in interface BroadcasterLifeCyclePolicyListener


Copyright © 2013. All Rights Reserved.