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, toStringpublic 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 AbstractConnectionEventlistener - the connection listenerCopyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.