Interface ISocketConnectionFactory
Interface that represents a connection factory.
Namespace: Fibula.Communications.Contracts.Abstractions
Assembly: Fibula.Communications.Contracts.dll
Syntax
public interface ISocketConnectionFactory
Methods
| Improve this Doc View SourceCreate(Socket)
Creates a new ISocketConnection for the given socket.
Declaration
ISocketConnection Create(Socket socket)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Sockets.Socket | socket | The socket of the connection. |
Returns
Type | Description |
---|---|
ISocketConnection | A new instance of a ISocketConnection. |