Click or drag to resize

Connection Methods

The Connection type exposes the following members.

Methods
 NameDescription
Public methodAddAspect Adds an aspect to a socket.
(Inherited from ProtocolSocket)
Public methodAddOrUpdateAspect Adds or updates an aspect of the socket.
(Inherited from ProtocolSocket)
Public methodCloseAsync Closes the socket.
(Overrides ProtocolSocket.CloseAsync(Boolean, Object))
Public methodFindAspect(Type) Returns an aspect of the given type, or return null.
(Inherited from ProtocolSocket)
Public methodFindAspectT Returns an aspect of the given type, or return null.
(Inherited from ProtocolSocket)
Public methodFindService(Type, ServiceBindingFlags, String) Returns an object that implements a specific API, or null. For example, an IO API such as IPacketIOService.
(Inherited from ProtocolSocket)
Public methodFindServiceT(ServiceBindingFlags, String) Returns an object that implements a specific API, or null. For example, an IO API such as IPacketIOService.
(Inherited from ProtocolSocket)
Protected methodGetDownStream Returns the downstream socket.
(Inherited from ProtocolSocket)
Public methodGetHead Returns the protocol head.
(Overrides ProtocolSocketGetHead)
Public methodGetOrAddAspect Adds an aspect to a socket by using the specified function, if the key does not already exist.
(Inherited from ProtocolSocket)
Public methodGetServiceT Returns an object that implements a specific API, or throws an exception. For example, an IO API such as IPacketIOService.
(Inherited from ProtocolSocket)
Public methodGetStream Returns the head of the protocol stream (the first protocol instance).
(Inherited from ProtocolSocket)
Protected methodInitializeAsync When overridden in a derived class, initializes the socket.
(Inherited from ProtocolSocket)
Public methodLink Adds a 'link' reference.
Protected methodNotifyPropertyChanged(PropertyChangedEventArgs) Raises the PropertyChanged event.
(Inherited from ProtocolSocket)
Protected methodNotifyPropertyChanged(String) Raises the PropertyChanged event.
(Inherited from ProtocolSocket)
Public methodStatic memberOpen(OpenParams) Opens a socket.
Public methodCode exampleOpen(OpenFlags, Object) Opens (or reopens) the socket.
Public methodStatic memberOpen(ProtocolAddress, Flags, Object) Opens a socket.
Public methodStatic memberOpen(ProtocolAddress, IEnumerableType, Flags, Object) Opens a socket.
Public methodStatic memberOpen(ProtocolAddress, Type, Flags, Object) Opens a socket.
Public methodStatic memberOpenAsync(Boolean, OpenParams) Opens a socket.
Protected methodOpenAsync(Boolean, Flags, Object) Opens the socket.
(Overrides ProtocolSocketOpenAsync(Boolean, Flags, Object))
Public methodOpenAsync(Boolean, OpenFlags, Object) Opens the socket.
Public methodStatic memberOpenAsync(Boolean, ProtocolAddress, Flags, Object) Opens a socket.
Public methodStatic memberOpenAsync(Boolean, ProtocolAddress, IEnumerableType, Flags, Object) Opens a socket.
Public methodStatic memberOpenAsync(Boolean, ProtocolAddress, Type, Flags, Object) Opens a socket.
Public methodRegisterClosing Registers a function to call when Close has been called but before the socket has been closed.
(Inherited from ProtocolSocket)
Public methodRegisterOpen Registers a function to call after the socket is opened, but before the OnOpenedAsync event is fired.
(Inherited from ProtocolSocket)
Public methodRemoveAspect Removes an aspect from a socket.
(Inherited from ProtocolSocket)
Public methodSetDownStream Sets the downstream socket.
(Inherited from ProtocolSocket)
Public methodSetLog Sets the current log.
(Inherited from ProtocolSocket)
Public methodShutdown(Boolean) Forcibly shuts down the socket, without logging an error.
(Inherited from ProtocolSocket)
Public methodShutdown(Exception) Forcibly shuts down the socket, and then logs an error.
(Inherited from ProtocolSocket)
Public methodShutdown(String, Boolean) Forcibly shuts down the socket, and then logs an error.
(Inherited from ProtocolSocket)
Public methodShutdown(LogMessageLogLevel, String, Object) Forcibly shuts down the socket, and then logs an error.
(Inherited from ProtocolSocket)
Public methodShutdownAsync(Boolean, Boolean) Forcibly shuts down the socket, without logging an error.
(Inherited from ProtocolSocket)
Public methodShutdownAsync(Boolean, Exception) Forcibly shuts down the socket, and then logs an error.
(Inherited from ProtocolSocket)
Public methodShutdownAsync(Boolean, String, Boolean) Forcibly shuts down the socket, and then logs an error.
(Inherited from ProtocolSocket)
Public methodShutdownAsync(Boolean, LogMessageLogLevel, String, Object) Forcibly shuts down the socket, and then logs an error.
(Inherited from ProtocolSocket)
Public methodToString Returns a description of this socket.
(Inherited from ProtocolSocket)
Public methodUnlink Remove a 'link' reference count.
Public methodUnlinkRequest Raises the OnUnlinkRequest event.
Public methodUnregisterClosing Unregister a previously registered function.
(Inherited from ProtocolSocket)
Public methodUnregisterOpen Unregister a previously registered function.
(Inherited from ProtocolSocket)
Top
See Also