Package com.streambase.liveview.client
Class ConnectionClosedEvent
java.lang.Object
java.util.EventObject
com.streambase.liveview.client.AbstractConnectionEvent
com.streambase.liveview.client.ConnectionClosedEvent
- All Implemented Interfaces:
Serializable
Event dispatched when a
LiveViewConnection closes.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatch(ConnectionListener listener) Dispatches this event to the listenerGet the connection that was closedMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ConnectionClosedEvent
- Parameters:
source- the source of the eventconnection- the connection that was closed
-
-
Method Details
-
getConnection
Get the connection that was closed- Returns:
- the connection
-
dispatch
Dispatches this event to the listener- Specified by:
dispatchin classAbstractConnectionEvent- Parameters:
listener- the connection listener
-