Show / Hide Table of Contents

    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 Source

    Create(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.

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.