C# Класс GladNet.Message.RequestMessage

Наследование: NetworkMessage, IRequestMessage, IRoutableMessage
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
DeepClone ( ) : NetworkMessage
Dispatch ( INetworkMessageReceiver receiver, IMessageParameters parameters ) : void

Dispatches the RequestMessage (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.

RequestMessage ( PacketPayload payload ) : Easyception

Constructor for RequestMessage that calls NetworkMessage.ctor

Защищенные методы

Метод Описание
RequestMessage ( ) : Easyception

Protected protobuf-net constructor.

RequestMessage ( NetSendable netSendablePayload ) : Easyception

Protected instructor used for deep cloning the NetworkMessage.

Описание методов

DeepClone() публичный Метод

public DeepClone ( ) : NetworkMessage
Результат NetworkMessage

Dispatch() публичный Метод

Dispatches the RequestMessage (this) to the supplied INetworkMessageReceiver.
Throws if either parameters are null.
public Dispatch ( INetworkMessageReceiver receiver, IMessageParameters parameters ) : void
receiver INetworkMessageReceiver The target .
parameters IMessageParameters The of the .
Результат void

ExportRoutingDataTo() публичный Метод

public ExportRoutingDataTo ( IRoutableMessage message ) : void
message IRoutableMessage
Результат void

Peek() публичный Метод

Peeks at the routing key this message would use to route. Call Pop to both Peek and Remove the key before sending.
public Peek ( ) : int?
Результат int?

Pop() публичный Метод

Removes a routing key from the message. This key indicates where this message should be forwared to.
public Pop ( ) : int?
Результат int?

Push() публичный Метод

Pushes a new routing key into the message. This key indicates where a message to this message should be routed back to.
public Push ( int routingKey ) : void
routingKey int Unique routing key.
Результат void

RequestMessage() защищенный Метод

Protected protobuf-net constructor.
protected RequestMessage ( ) : Easyception
Результат Easyception

RequestMessage() защищенный Метод

Protected instructor used for deep cloning the NetworkMessage.
protected RequestMessage ( NetSendable netSendablePayload ) : Easyception
netSendablePayload NetSendable Shallow copy of the PacketPayload for copying.
Результат Easyception

RequestMessage() публичный Метод

Constructor for RequestMessage that calls NetworkMessage.ctor
public RequestMessage ( PacketPayload payload ) : Easyception
payload GladNet.Payload.PacketPayload of the .
Результат Easyception