public final class ConnectionClosedEvent extends AbstractConnectionEvent
LiveViewConnection
closes.Constructor and Description |
---|
ConnectionClosedEvent(java.lang.Object source,
LiveViewConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(ConnectionListener listener)
Dispatches this event to the listener
|
LiveViewConnection |
getConnection()
Get the connection that was closed
|
public ConnectionClosedEvent(java.lang.Object source, LiveViewConnection connection)
source
- the source of the eventconnection
- the connection that was closedpublic LiveViewConnection getConnection()
public void dispatch(ConnectionListener listener)
dispatch
in class AbstractConnectionEvent
listener
- the connection listener