Package org.jppf.comm.recovery
Class HeartbeatConnectionEvent
java.lang.Object
java.util.EventObject
org.jppf.comm.recovery.HeartbeatConnectionEvent
- All Implemented Interfaces:
Serializable
Event emitted when a remote peer detects the connection with the server is broken.
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionHeartbeatConnectionEvent(HeartbeatConnection connection) Initialize this event with the specified client-side connection. -
Method Summary
Modifier and TypeMethodDescriptionGet the connection from which the event originated.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
HeartbeatConnectionEvent
Initialize this event with the specified client-side connection.- Parameters:
connection- the connection to which the event applies.
-
-
Method Details
-
getConnection
Get the connection from which the event originated.- Returns:
- a
HeartbeatConnectioninstance.
-