Connection Events |
The Connection type exposes the following members.
| Name | Description | |
|---|---|---|
| OnClosedAsync |
Occurs after the socket is closed.
(Inherited from ProtocolSocket) | |
| OnConnectionAdded | Occurs when a connection is added to the registry. | |
| OnConnectionRemoved | Occurs when a connection is removed from the registry. | |
| OnConnectionStateChanged | Occurs when a connection state changes. | |
| OnDisposed |
Occurs when the socket is disposed.
A socket is disposed when it's closed and uncached from the connection registry.
User script may retain a reference, and may resurrect the socket by calling OpenAsync(Boolean, OpenFlags, Object).
(Inherited from ProtocolSocket) | |
| OnLinked | Occurs when a link is made to this socket. | |
| OnOpenedAsync |
Occurs after the socket is opened.
(Inherited from ProtocolSocket) | |
| OnShutdownAsync |
Occurs after the socket is shutdown.
(Inherited from ProtocolSocket) | |
| OnUnlinked | Occurs when a link is removed from this socket. | |
| OnUnlinkRequest | Occurs when an object is requested to unlink from this socket. | |
| PropertyChanged |
Occurs when a property value changes.
(Inherited from ProtocolSocket) |