Message |
The Message Pump ensures the transfer of real-time data from the server (logs, statuses)
and the sending of information to the server (commands).
Inheritance Hierarchy
Namespace: Gamanet.C4.SDK
Assembly: Gamanet.C4.SimpleClient (in Gamanet.C4.SimpleClient.dll) Version: 2026.0.0.733
Syntax
C#
public sealed class MessagePump : ISimpleClientMessagePumpV1, IDisposable
The MessagePump type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddToRouteTable | Adds to route table. | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
| Flush | Flush clears all buffers for this MessagePump and causes any buffered messages to be sended to the server. | |
| RemoveFromRouteTable | Removes from route table. | |
| Send | For sending commands | |
| SendAsync | Sends the specified message. In case of any Validation or other exceptions during processing are thrown in current thread. | |
| SetCommunicationFilter | Sets the communication filter. | |
| SetCommunicationLevel | Sets the communication level. Command and System messages are always occurred. | |
| Start | Starts Message Pump. | |
| Stop | Stops Message Pump. |
Events
| Name | Description | |
|---|---|---|
| OnMessage | To receive live messages | |
| OnStateChanged | Occurs when on state changed. |
Extension Methods
| Name | Description | |
|---|---|---|
| ToInvariantString |
To the invariant string.
(Defined by Extensions) |
See Also