|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AtmosphereResourceEventListener
Receive notification when a resume, client disconnect or broadcast events occurs.
| Method Summary | |
|---|---|
void |
onBroadcast(AtmosphereResourceEvent<HttpServletRequest,HttpServletResponse> event)
Invoked when a Broadcast#broadcast occurs. |
void |
onDisconnect(AtmosphereResourceEvent<HttpServletRequest,HttpServletResponse> event)
Invoked when the remote connection gets closed. |
void |
onResume(AtmosphereResourceEvent<HttpServletRequest,HttpServletResponse> event)
Invoked when the AtmosphereResource.resume() is invoked or when the
suspend's time out expires. |
| Method Detail |
|---|
void onResume(AtmosphereResourceEvent<HttpServletRequest,HttpServletResponse> event)
AtmosphereResource.resume() is invoked or when the
suspend's time out expires.
event - void onDisconnect(AtmosphereResourceEvent<HttpServletRequest,HttpServletResponse> event)
event - void onBroadcast(AtmosphereResourceEvent<HttpServletRequest,HttpServletResponse> event)
Broadcast#broadcast occurs.
event -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||