public interface AtmosphereResourceEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
onBroadcast(AtmosphereResourceEvent event)
Invoked when a
Broadcaster.broadcast(T) occurs. |
void |
onDisconnect(AtmosphereResourceEvent event)
Invoked when the remote connection gets closed.
|
void |
onResume(AtmosphereResourceEvent event)
Invoked when the
AtmosphereResource.resume() is invoked or when the
suspend's time out expires. |
void |
onSuspend(AtmosphereResourceEvent event)
Invoked when the
AtmosphereResource.suspend() has been completed and the response
considered as suspended. |
void |
onThrowable(AtmosphereResourceEvent event)
Invoked when an operations failed to execute for an unknown reason like : IOException because the client
remotly closed the connection, a broken connection, etc.
|
void onSuspend(AtmosphereResourceEvent event)
AtmosphereResource.suspend() has been completed and the response
considered as suspended.event - a AtmosphereResourceEventvoid onResume(AtmosphereResourceEvent event)
AtmosphereResource.resume() is invoked or when the
suspend's time out expires.event - a AtmosphereResourceEventvoid onDisconnect(AtmosphereResourceEvent event)
event - a AtmosphereResourceEventvoid onBroadcast(AtmosphereResourceEvent event)
Broadcaster.broadcast(T) occurs.event - a AtmosphereResourceEventvoid onThrowable(AtmosphereResourceEvent event)
event - a AtmosphereResourceEventCopyright © 2018. All Rights Reserved.