Protocol |
The ProtocolSocket type exposes the following members.
| Name | Description | |
|---|---|---|
| AddAspect | Adds an aspect to a socket. | |
| AddOrUpdateAspect | Adds or updates an aspect of the socket. | |
| FindAspect(Type) | Returns an aspect of the given type, or return null. | |
| FindAspectT | Returns an aspect of the given type, or return null. | |
| FindService(Type, ServiceBindingFlags, String) | Returns an object that implements a specific API, or null. For example, an IO API such as IPacketIOService. | |
| FindServiceT(ServiceBindingFlags, String) | Returns an object that implements a specific API, or null. For example, an IO API such as IPacketIOService. | |
| GetDownStream | Returns the downstream socket. | |
| GetHead | Returns the protocol head. | |
| GetOrAddAspect | Adds an aspect to a socket by using the specified function, if the key does not already exist. | |
| GetServiceT | Returns an object that implements a specific API, or throws an exception. For example, an IO API such as IPacketIOService. | |
| GetStream | Returns the head of the protocol stream (the first protocol instance). | |
| InitializeAsync | When overridden in a derived class, initializes the socket. | |
| NotifyPropertyChanged(PropertyChangedEventArgs) | Raises the PropertyChanged event. | |
| NotifyPropertyChanged(String) | Raises the PropertyChanged event. | |
| OpenAsync | Opens (or reopens) the socket. | |
| RegisterClosing | Registers a function to call when Close has been called but before the socket has been closed. | |
| RegisterOpen | Registers a function to call after the socket is opened, but before the OnOpenedAsync event is fired. | |
| RemoveAspect | Removes an aspect from a socket. | |
| SetDownStream | Sets the downstream socket. | |
| SetLog | Sets the current log. | |
| Shutdown(Boolean) | Forcibly shuts down the socket, without logging an error. | |
| Shutdown(Exception) | Forcibly shuts down the socket, and then logs an error. | |
| Shutdown(String, Boolean) | Forcibly shuts down the socket, and then logs an error. | |
| Shutdown(LogMessageLogLevel, String, Object) | Forcibly shuts down the socket, and then logs an error. | |
| ShutdownAsync(Boolean, Boolean) | Forcibly shuts down the socket, without logging an error. | |
| ShutdownAsync(Boolean, Exception) | Forcibly shuts down the socket, and then logs an error. | |
| ShutdownAsync(Boolean, String, Boolean) | Forcibly shuts down the socket, and then logs an error. | |
| ShutdownAsync(Boolean, LogMessageLogLevel, String, Object) | Forcibly shuts down the socket, and then logs an error. | |
| ToString |
Returns a description of this socket.
(Overrides ObjectToString) | |
| UnregisterClosing | Unregister a previously registered function. | |
| UnregisterOpen | Unregister a previously registered function. |