Package org.atmosphere.cpr
Class HeartbeatAtmosphereResourceEvent
- java.lang.Object
-
- org.atmosphere.cpr.AtmosphereResourceEventImpl
-
- org.atmosphere.cpr.HeartbeatAtmosphereResourceEvent
-
- All Implemented Interfaces:
AtmosphereResourceEvent
public class HeartbeatAtmosphereResourceEvent extends AtmosphereResourceEventImpl
Specifies to the observable that
AtmosphereResourceHeartbeatEventListener.onHeartbeat(org.atmosphere.cpr.AtmosphereResourceEvent)should be invoked when it fires event to observers.- Since:
- 2.2
- Version:
- 1.0
- Author:
- Guillaume DROUET
-
-
Field Summary
-
Fields inherited from class org.atmosphere.cpr.AtmosphereResourceEventImpl
message, resource
-
-
Constructor Summary
Constructors Constructor Description HeartbeatAtmosphereResourceEvent(AtmosphereResourceImpl resource)Builds a new event.
-
Method Summary
-
Methods inherited from class org.atmosphere.cpr.AtmosphereResourceEventImpl
broadcaster, destroy, equals, getMessage, getResource, hashCode, isCancelled, isClosedByApplication, isClosedByClient, isClosedByClient, isResumedOnTimeout, isResuming, isSuspended, setCancelled, setCloseByApplication, setIsResumedOnTimeout, setMessage, setThrowable, throwable, toString
-
-
-
-
Constructor Detail
-
HeartbeatAtmosphereResourceEvent
public HeartbeatAtmosphereResourceEvent(AtmosphereResourceImpl resource)
Builds a new event.
- Parameters:
resource- the resource
-
-