C# Class RampUp.Actors.Impl.MessageMetadata

Show file Open project: Scooletz/RampUp Class Usage Examples

Public Properties

Property Type Description
EnvelopeOffset short
Id int
Size short

Public Methods

Method Description
BuildMetadata ( IStructSizeCounter counter, int>.Func messageIdGetter, Type structTypes ) : LongLookup
MessageMetadata ( int id, short size, short envelopeOffset ) : System

Private Methods

Method Description
GetKey ( RuntimeTypeHandle typeHandle ) : long
GetKey ( Type t ) : long

Method Details

BuildMetadata() public static method

public static BuildMetadata ( IStructSizeCounter counter, int>.Func messageIdGetter, Type structTypes ) : LongLookup
counter IStructSizeCounter
messageIdGetter int>.Func
structTypes System.Type
return LongLookup

MessageMetadata() public method

public MessageMetadata ( int id, short size, short envelopeOffset ) : System
id int
size short
envelopeOffset short
return System

Property Details

EnvelopeOffset public property

public short EnvelopeOffset
return short

Id public property

public int Id
return int

Size public property

public short Size
return short