org.atmosphere.lifecycle
Class BroadcasterLifecyclePolicyHandler
java.lang.Object
org.atmosphere.cpr.BroadcasterListenerAdapter
org.atmosphere.lifecycle.BroadcasterLifecyclePolicyHandler
- All Implemented Interfaces:
- BroadcasterListener
public class BroadcasterLifecyclePolicyHandler
- extends BroadcasterListenerAdapter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BroadcasterLifecyclePolicyHandler
public BroadcasterLifecyclePolicyHandler()
onPostCreate
public void onPostCreate(Broadcaster b)
- Invoked just after the
Broadcaster has been created.
- Specified by:
onPostCreate in interface BroadcasterListener- Overrides:
onPostCreate in class BroadcasterListenerAdapter
- Parameters:
b - a Broadcaster
onPreDestroy
public void onPreDestroy(Broadcaster b)
- Invoked before a Broadcaster is about to be deleted.
- Specified by:
onPreDestroy in interface BroadcasterListener- Overrides:
onPreDestroy in class BroadcasterListenerAdapter
- Parameters:
b - a Broadcaster
onRemoveAtmosphereResource
public void onRemoveAtmosphereResource(Broadcaster b,
AtmosphereResource r)
- Invoked when an
AtmosphereResource is getting removed to a Broadcaster.
- Specified by:
onRemoveAtmosphereResource in interface BroadcasterListener- Overrides:
onRemoveAtmosphereResource in class BroadcasterListenerAdapter
- Parameters:
b - a Broadcasterr - an AtmosphereResource
Copyright © 2015. All Rights Reserved.