org.atmosphere.samples.guice
Class EventListener
java.lang.Object
org.atmosphere.samples.guice.EventListener
- All Implemented Interfaces:
- org.atmosphere.cpr.AtmosphereResourceEventListener, org.atmosphere.cpr.AtmosphereResourceHeartbeatEventListener
public class EventListener
- extends Object
- implements org.atmosphere.cpr.AtmosphereResourceEventListener
- Author:
- Sebastian Lövdahl
|
Method Summary |
void |
onBroadcast(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
|
void |
onClose(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
|
void |
onDisconnect(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
|
void |
onHeartbeat(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
|
void |
onPreSuspend(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
|
void |
onResume(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
|
void |
onSuspend(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
|
void |
onThrowable(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventListener
public EventListener()
onPreSuspend
public void onPreSuspend(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
- Specified by:
onPreSuspend in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onSuspend
public void onSuspend(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
- Specified by:
onSuspend in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onResume
public void onResume(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
- Specified by:
onResume in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onDisconnect
public void onDisconnect(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
- Specified by:
onDisconnect in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onBroadcast
public void onBroadcast(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
- Specified by:
onBroadcast in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onThrowable
public void onThrowable(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
- Specified by:
onThrowable in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onClose
public void onClose(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
- Specified by:
onClose in interface org.atmosphere.cpr.AtmosphereResourceEventListener
onHeartbeat
public void onHeartbeat(org.atmosphere.cpr.AtmosphereResourceEvent atmosphereResourceEvent)
- Specified by:
onHeartbeat in interface org.atmosphere.cpr.AtmosphereResourceHeartbeatEventListener
Copyright © 2015. All Rights Reserved.