Show / Hide Table of Contents

    Interface ITcpListener

    Common interface for TCP listeners.

    Namespace: Fibula.Communications.Contracts.Abstractions
    Assembly: Fibula.Communications.Contracts.dll
    Syntax
    public interface ITcpListener

    Methods

    | Improve this Doc View Source

    AcceptSocketAsync()

    Accepts a pending connection request as an asynchronous operation.

    Declaration
    Task<Socket> AcceptSocketAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Net.Sockets.Socket>

    A System.Threading.Tasks.Task representing the asynchronous operation.

    | Improve this Doc View Source

    Start()

    Starts listening for internal connection requests.

    Declaration
    void Start()
    | Improve this Doc View Source

    Stop()

    Closes the listener.

    Declaration
    void Stop()

    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.