C# Class TSystems.RELOAD.Transport.StoreReq

A StoreReq message is a sequence of StoreKindData values, each of which represents a sequence of stored values for a given kind. RELOAD base -12 p. 86 --alex
Inheritance: RELOAD_MessageBody
Mostra file Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Public Methods

Method Description
Dump ( BinaryWriter writer ) : UInt32
FromReader ( ReloadMessage rm, BinaryReader reader, long reload_msg_size ) : RELOAD_MessageBody

Deserializes a StoreReq message from wire.

StoreReq ( ResourceId resId, List store_kind_data, UsageManager manager, bool replica ) : System
StoreReq ( UsageManager manager ) : System
appendStoreKindData ( StoreKindData storeKind ) : int

Adds a new StoreKindData to the request

setReplicaNumber ( ) : byte

Increments the replica_number for this request.

Method Details

Dump() public method

public Dump ( BinaryWriter writer ) : UInt32
writer System.IO.BinaryWriter
return System.UInt32

FromReader() public method

Deserializes a StoreReq message from wire.
public FromReader ( ReloadMessage rm, BinaryReader reader, long reload_msg_size ) : RELOAD_MessageBody
rm ReloadMessage
reader System.IO.BinaryReader
reload_msg_size long
return RELOAD_MessageBody

StoreReq() public method

public StoreReq ( ResourceId resId, List store_kind_data, UsageManager manager, bool replica ) : System
resId TSystems.RELOAD.Utils.ResourceId
store_kind_data List
manager TSystems.RELOAD.Usage.UsageManager
replica bool
return System

StoreReq() public method

public StoreReq ( UsageManager manager ) : System
manager TSystems.RELOAD.Usage.UsageManager
return System

appendStoreKindData() public method

Adds a new StoreKindData to the request
public appendStoreKindData ( StoreKindData storeKind ) : int
storeKind TSystems.RELOAD.Storage.StoreKindData The Kind to be stored
return int

setReplicaNumber() public method

Increments the replica_number for this request.
public setReplicaNumber ( ) : byte
return byte