Property | Type | Description |
---|
Method | Description | |
---|---|---|
DeepClone ( ) : NetworkMessage | ||
Dispatch ( INetworkMessageReceiver receiver, IMessageParameters parameters ) : void |
Dispatches the ResponseMessage (this) to the supplied INetworkMessageReceiver.
|
|
ExportRoutingDataTo ( IRoutableMessage message ) : void | ||
Peek ( ) : int? |
Peeks at the routing key this message would use to route. Call Pop to both Peek and Remove the key before sending.
|
|
Pop ( ) : int? |
Removes a routing key from the message. This key indicates where this message should be forwared to.
|
|
Push ( int routingKey ) : void |
Pushes a new routing key into the message. This key indicates where a message to this message should be routed back to.
|
|
ResponseMessage ( |
Constructor for ResponseMessage that calls NetworkMessage.ctor
|
Method | Description | |
---|---|---|
ResponseMessage ( ) : System |
Protected protobuf-net constructor.
|
|
ResponseMessage ( NetSendable |
Protected instructor used for deep cloning the NetworkMessage.
|
public Dispatch ( INetworkMessageReceiver receiver, IMessageParameters parameters ) : void | ||
receiver | INetworkMessageReceiver | The target |
parameters | IMessageParameters | The |
return | void |
public ExportRoutingDataTo ( IRoutableMessage message ) : void | ||
message | IRoutableMessage | |
return | void |
public Push ( int routingKey ) : void | ||
routingKey | int | Unique routing key. |
return | void |
protected ResponseMessage ( NetSendable |
||
netSendablePayload | NetSendable |
Shallow copy of the PacketPayload for copying. |
return | System |
public ResponseMessage ( |
||
payload | ||
return | System |