public final class ConnectionRemovedEvent
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionRemovedEvent.Reason
An enumeration of the reasons a connection could be closed
|
| Constructor and Description |
|---|
ConnectionRemovedEvent(ConnectionId connectionId)
Deprecated.
|
ConnectionRemovedEvent(ConnectionId connectionId,
ConnectionRemovedEvent.Reason reason)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionId |
getConnectionId()
Gets the connection id
|
ConnectionRemovedEvent.Reason |
getReason()
Get the reason the connection was removed.
|
java.lang.String |
toString() |
@Deprecated public ConnectionRemovedEvent(ConnectionId connectionId)
ConnectionRemovedEvent(ConnectionId, Reason)connectionId - the connectionIdpublic ConnectionRemovedEvent(ConnectionId connectionId, ConnectionRemovedEvent.Reason reason)
connectionId - the connection idreason - the reason the connection was closedpublic ConnectionId getConnectionId()
public ConnectionRemovedEvent.Reason getReason()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved