C# 클래스 GladNet.Message.ResponseMessage

상속: NetworkMessage, IResponseMessage
파일 보기 프로젝트 열기: HelloKitty/GladNet2 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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 ( PacketPayload payload ) : System

Constructor for ResponseMessage that calls NetworkMessage.ctor

보호된 메소드들

메소드 설명
ResponseMessage ( ) : System

Protected protobuf-net constructor.

ResponseMessage ( NetSendable netSendablePayload ) : System

Protected instructor used for deep cloning the NetworkMessage.

메소드 상세

DeepClone() 공개 메소드

public DeepClone ( ) : NetworkMessage
리턴 NetworkMessage

Dispatch() 공개 메소드

Dispatches the ResponseMessage (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

ResponseMessage() 보호된 메소드

Protected protobuf-net constructor.
protected ResponseMessage ( ) : System
리턴 System

ResponseMessage() 보호된 메소드

Protected instructor used for deep cloning the NetworkMessage.
protected ResponseMessage ( NetSendable netSendablePayload ) : System
netSendablePayload NetSendable Shallow copy of the PacketPayload for copying.
리턴 System

ResponseMessage() 공개 메소드

Constructor for ResponseMessage that calls NetworkMessage.ctor
public ResponseMessage ( PacketPayload payload ) : System
payload GladNet.Payload.PacketPayload of the .
리턴 System