org.atmosphere.cpr
public interface BroadcasterListener
Broadcaster's event lifecycle.| Modifier and Type | Interface and Description |
|---|---|
static class |
BroadcasterListener.BroadcastListenerException
Throw this exception to interrupt the
Broadcaster.destroy() operation. |
| Modifier and Type | Method and Description |
|---|---|
void |
onAddAtmosphereResource(Broadcaster b,
AtmosphereResource r)
Invoked when an
AtmosphereResource is getting associated to a Broadcaster. |
void |
onComplete(Broadcaster b)
Invoked when the Broadcast operation completes.
|
void |
onPostCreate(Broadcaster b)
Invoked just after the
Broadcaster has been created. |
void |
onPreDestroy(Broadcaster b)
Invoked before a Broadcaster is about to be deleted.
|
void |
onRemoveAtmosphereResource(Broadcaster b,
AtmosphereResource r)
Invoked when an
AtmosphereResource is getting removed to a Broadcaster. |
void onPostCreate(Broadcaster b)
Broadcaster has been created.b - a Broadcastervoid onComplete(Broadcaster b)
b - a Broadcastervoid onPreDestroy(Broadcaster b)
b - a Broadcastervoid onAddAtmosphereResource(Broadcaster b, AtmosphereResource r)
AtmosphereResource is getting associated to a Broadcaster.b - a Broadcasterr - an AtmosphereResourcevoid onRemoveAtmosphereResource(Broadcaster b, AtmosphereResource r)
AtmosphereResource is getting removed to a Broadcaster.b - a Broadcasterr - an AtmosphereResourceCopyright © 2014. All Rights Reserved.