Click or drag to resize

Connection Events

The Connection type exposes the following members.

Events
 NameDescription
Public eventOnClosedAsync Occurs after the socket is closed.
(Inherited from ProtocolSocket)
Public eventStatic memberOnConnectionAdded Occurs when a connection is added to the registry.
Public eventStatic memberOnConnectionRemoved Occurs when a connection is removed from the registry.
Public eventStatic memberOnConnectionStateChanged Occurs when a connection state changes.
Public eventOnDisposed 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)
Public eventOnLinked Occurs when a link is made to this socket.
Public eventOnOpenedAsync Occurs after the socket is opened.
(Inherited from ProtocolSocket)
Public eventOnShutdownAsync Occurs after the socket is shutdown.
(Inherited from ProtocolSocket)
Public eventOnUnlinked Occurs when a link is removed from this socket.
Public eventOnUnlinkRequest Occurs when an object is requested to unlink from this socket.
Public eventPropertyChanged Occurs when a property value changes.
(Inherited from ProtocolSocket)
Top
See Also