public final class ConnectionClosedEvent extends AbstractConnectionEvent
LiveViewConnection
closes.source
Constructor and Description |
---|
ConnectionClosedEvent(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
|
getSource, toString
public ConnectionClosedEvent(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