NFive API Reference

NFive API Reference

    Show / Hide Table of Contents

    Interface ICommunicationReceive

    Namespace: NFive.SDK.Client.Communications
    Assembly: NFive.SDK.Client.net.dll
    Syntax
    public interface ICommunicationReceive

    Methods

    | Improve this Doc View Source

    On(Action<ICommunicationMessage>)

    Registers the specified callback.

    Declaration
    void On(Action<ICommunicationMessage> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage> callback

    The callback.

    | Improve this Doc View Source

    On<T>(Action<ICommunicationMessage, T>)

    Registers the specified callback.

    Declaration
    void On<T>(Action<ICommunicationMessage, T> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage, T> callback

    The callback.

    Type Parameters
    Name Description
    T

    The type of the first callback parameter.

    | Improve this Doc View Source

    On<T1, T2>(Action<ICommunicationMessage, T1, T2>)

    Registers the specified callback.

    Declaration
    void On<T1, T2>(Action<ICommunicationMessage, T1, T2> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage, T1, T2> callback

    The callback.

    Type Parameters
    Name Description
    T1

    The type of the first callback parameter.

    T2

    The type of the second callback parameter.

    | Improve this Doc View Source

    On<T1, T2, T3>(Action<ICommunicationMessage, T1, T2, T3>)

    Registers the specified callback.

    Declaration
    void On<T1, T2, T3>(Action<ICommunicationMessage, T1, T2, T3> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage, T1, T2, T3> callback

    The callback.

    Type Parameters
    Name Description
    T1

    The type of the first callback parameter.

    T2

    The type of the second callback parameter.

    T3

    The type of the third callback parameter.

    | Improve this Doc View Source

    On<T1, T2, T3, T4>(Action<ICommunicationMessage, T1, T2, T3, T4>)

    Registers the specified callback.

    Declaration
    void On<T1, T2, T3, T4>(Action<ICommunicationMessage, T1, T2, T3, T4> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage, T1, T2, T3, T4> callback

    The callback.

    Type Parameters
    Name Description
    T1

    The type of the first callback parameter.

    T2

    The type of the second callback parameter.

    T3

    The type of the third callback parameter.

    T4

    The type of the fourth callback parameter.

    | Improve this Doc View Source

    On<T1, T2, T3, T4, T5>(Action<ICommunicationMessage, T1, T2, T3, T4, T5>)

    Registers the specified callback.

    Declaration
    void On<T1, T2, T3, T4, T5>(Action<ICommunicationMessage, T1, T2, T3, T4, T5> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage, T1, T2, T3, T4, T5> callback

    The callback.

    Type Parameters
    Name Description
    T1

    The type of the first callback parameter.

    T2

    The type of the second callback parameter.

    T3

    The type of the third callback parameter.

    T4

    The type of the fourth callback parameter.

    T5

    The type of the fifth callback parameter.

    | Improve this Doc View Source

    OnRequest(Action<ICommunicationMessage>)

    Registers the specified callback.

    Declaration
    void OnRequest(Action<ICommunicationMessage> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage> callback

    The callback.

    | Improve this Doc View Source

    OnRequest<T>(Action<ICommunicationMessage, T>)

    Registers the specified callback.

    Declaration
    void OnRequest<T>(Action<ICommunicationMessage, T> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage, T> callback

    The callback.

    Type Parameters
    Name Description
    T

    The type of the first callback parameter.

    | Improve this Doc View Source

    OnRequest<T1, T2>(Action<ICommunicationMessage, T1, T2>)

    Registers the specified callback.

    Declaration
    void OnRequest<T1, T2>(Action<ICommunicationMessage, T1, T2> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage, T1, T2> callback

    The callback.

    Type Parameters
    Name Description
    T1

    The type of the first callback parameter.

    T2

    The type of the second callback parameter.

    | Improve this Doc View Source

    OnRequest<T1, T2, T3>(Action<ICommunicationMessage, T1, T2, T3>)

    Registers the specified callback.

    Declaration
    void OnRequest<T1, T2, T3>(Action<ICommunicationMessage, T1, T2, T3> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage, T1, T2, T3> callback

    The callback.

    Type Parameters
    Name Description
    T1

    The type of the first callback parameter.

    T2

    The type of the second callback parameter.

    T3

    The type of the third callback parameter.

    | Improve this Doc View Source

    OnRequest<T1, T2, T3, T4>(Action<ICommunicationMessage, T1, T2, T3, T4>)

    Registers the specified callback.

    Declaration
    void OnRequest<T1, T2, T3, T4>(Action<ICommunicationMessage, T1, T2, T3, T4> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage, T1, T2, T3, T4> callback

    The callback.

    Type Parameters
    Name Description
    T1

    The type of the first callback parameter.

    T2

    The type of the second callback parameter.

    T3

    The type of the third callback parameter.

    T4

    The type of the fourth callback parameter.

    | Improve this Doc View Source

    OnRequest<T1, T2, T3, T4, T5>(Action<ICommunicationMessage, T1, T2, T3, T4, T5>)

    Registers the specified callback.

    Declaration
    void OnRequest<T1, T2, T3, T4, T5>(Action<ICommunicationMessage, T1, T2, T3, T4, T5> callback)
    Parameters
    Type Name Description
    Action<ICommunicationMessage, T1, T2, T3, T4, T5> callback

    The callback.

    Type Parameters
    Name Description
    T1

    The type of the first callback parameter.

    T2

    The type of the second callback parameter.

    T3

    The type of the third callback parameter.

    T4

    The type of the fourth callback parameter.

    T5

    The type of the fifth callback parameter.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2019 NFive