Interface ICommunicationReceive
Namespace: NFive.SDK.Client.Communications
Assembly: NFive.SDK.Client.net.dll
Syntax
public interface ICommunicationReceive
Methods
| Improve this Doc View SourceOn(Action<ICommunicationMessage>)
Registers the specified callback.
Declaration
void On(Action<ICommunicationMessage> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<ICommunicationMessage> | callback | The callback. |
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. |
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. |
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. |
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. |
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. |
OnRequest(Action<ICommunicationMessage>)
Registers the specified callback.
Declaration
void OnRequest(Action<ICommunicationMessage> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<ICommunicationMessage> | callback | The callback. |
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. |
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. |
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. |
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. |
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. |