C# Class Tempest.Message

Show file Open project: ermau/Tempest Class Usage Examples

Public Methods

Method Description
ReadPayload ( ISerializationContext context, IValueReader reader ) : void

Reads the message payload with reader.

WritePayload ( ISerializationContext context, IValueWriter writer ) : void

Writes the message payload with writer.

Protected Methods

Method Description
Message ( Protocol protocol, ushort messageType ) : System

Method Details

Message() protected method

protected Message ( Protocol protocol, ushort messageType ) : System
protocol Protocol
messageType ushort
return System

ReadPayload() public abstract method

Reads the message payload with reader.
is null.
public abstract ReadPayload ( ISerializationContext context, IValueReader reader ) : void
context ISerializationContext
reader IValueReader The reader to use for reading the payload.
return void

WritePayload() public abstract method

Writes the message payload with writer.
is null.
public abstract WritePayload ( ISerializationContext context, IValueWriter writer ) : void
context ISerializationContext
writer IValueWriter The writer to use for writing the payload.
return void