com.onlineobject.objectnet Namespace

EmbeddedMessage Members

The EmbeddedMessage type exposes the following members.

Methods


  Name Description
Public method Add(Byte)
Adds a single [byte] to the message.
Public method Add(SByte)
Adds a single [sbyte] to the message.
Public method Add(Boolean)
Adds a [bool] to the message.
Public method Add(Int16)
Adds a [short] to the message.
Public method Add(UInt16)
Adds a [ushort] to the message.
Public method Add(Int32)
Adds an [int] to the message.
Public method Add(UInt32)
Adds a [uint] to the message.
Public method Add(Int64)
Adds a [long] to the message.
Public method Add(UInt64)
Adds a [ulong] to the message.
Public method Add(Single)
Adds a [float] to the message.
Public method Add(Double)
Adds a [double] to the message.
Public method Add(String)
Adds a [string] to the message.
Public method Add(array<Byte>[]()[][], Boolean)
Adds a [byte] array to the message.
Public method Add(array<SByte>[]()[][], Boolean)
Adds an [sbyte] array to the message.
Public method Add(array<Boolean>[]()[][], Boolean)
Adds a [bool] array to the message.
Public method Add(array<Int16>[]()[][], Boolean)
Adds a [short] array to the message.
Public method Add(array<UInt16>[]()[][], Boolean)
Adds a [ushort] array to the message.
Public method Add(array<Int32>[]()[][], Boolean)
Adds an [int] array message.
Public method Add(array<UInt32>[]()[][], Boolean)
Adds a [uint] array to the message.
Public method Add(array<Int64>[]()[][], Boolean)
Adds a [long] array to the message.
Public method Add(array<UInt64>[]()[][], Boolean)
Adds a [ulong] array to the message.
Public method Add(array<Single>[]()[][], Boolean)
Adds a [float] array to the message.
Public method Add(array<Double>[]()[][], Boolean)
Adds a [double] array to the message.
Public method Add(array<String>[]()[][], Boolean)
Adds a [string] array to the message.
Public method Add<(Of <<'(T>)>>)(T)
Public method Add<(Of <<'(T>)>>)(array<T>[]()[][], Boolean)
Public method AddBool
Adds a Boolean to the message.
Public method AddBools
Adds a Boolean array to the message.
Public method AddByte
Adds a single Byte to the message.
Public method AddBytes
Adds a Byte array to the message.
Public method AddDouble
Adds a Double to the message.
Public method AddDoubles
Adds a Double array to the message.
Public method AddFloat
Adds a Single to the message.
Public method AddFloats
Adds a Single array to the message.
Public method AddInt
Adds an Int32 to the message.
Public method AddInts
Adds an Int32 array message.
Public method AddLong
Adds a Int64 to the message.
Public method AddLongs
Adds a Int64 array to the message.
Public method AddSByte
Adds a single SByte to the message.
Public method AddSBytes
Adds an SByte array to the message.
Public method AddSerializable<(Of <<'(T>)>>)
Adds a serializable to the message.
Public method AddSerializables<(Of <<'(T>)>>)
Adds an array of serializables to the message.
Public method AddShort
Adds a Int16 to the message.
Public method AddShorts
Adds a Int16 array to the message.
Public method AddString
Adds a String to the message.
Public method AddStrings
Adds a String array to the message.
Public method AddUInt
Adds a UInt32 to the message.
Public method AddUInts
Adds a UInt32 array to the message.
Public method AddULong
Adds a UInt64 to the message.
Public method AddULongs
Adds a UInt64 array to the message.
Public method AddUShort
Adds a UInt16 to the message.
Public method AddUShorts
Adds a UInt16 array to the message.
Public method Static member Create()()()()
Gets a completely empty message instance with no header.
Public method Static member Create(EmbeddedMessageSendMode, UInt16)
Gets a message instance that can be used for sending.
Public method Static member Create(EmbeddedMessageSendMode, Enum)
Gets a completely empty message instance with no header.
Public method Static member CreateNotify
Gets a notify message instance that can be used for sending.
Public method GetBool
Retrieves a Boolean from the message.
Public method GetBools()()()()
Retrieves a Boolean array from the message.
Public method GetBools(Int32)
Retrieves a Boolean array from the message.
Public method GetBools(Int32, array<Boolean>[]()[][], Int32)
Populates a Boolean array with bools retrieved from the message.
Public method GetByte
Retrieves a single Byte from the message.
Public method GetBytes()()()()
Retrieves a Byte array from the message.
Public method GetBytes(Int32)
Retrieves a Byte array from the message.
Public method GetBytes(Int32, array<Byte>[]()[][], Int32)
Populates a Byte array with bytes retrieved from the message.
Public method GetDouble
Retrieves a Double from the message.
Public method GetDoubles()()()()
Retrieves a Double array from the message.
Public method GetDoubles(Int32)
Retrieves a Double array from the message.
Public method GetDoubles(Int32, array<Double>[]()[][], Int32)
Populates a Double array with doubles retrieved from the message.
Public method GetFloat
Retrieves a Single from the message.
Public method GetFloats()()()()
Retrieves a Single array from the message.
Public method GetFloats(Int32)
Retrieves a Single array from the message.
Public method GetFloats(Int32, array<Single>[]()[][], Int32)
Populates a Single array with floats retrieved from the message.
Public method GetInt
Retrieves an Int32 from the message.
Public method GetInts()()()()
Retrieves an Int32 array from the message.
Public method GetInts(Int32)
Retrieves an Int32 array from the message.
Public method GetInts(Int32, array<Int32>[]()[][], Int32)
Populates an Int32 array with ints retrieved from the message.
Public method GetLong
Retrieves a Int64 from the message.
Public method GetLongs()()()()
Retrieves a Int64 array from the message.
Public method GetLongs(Int32)
Retrieves a Int64 array from the message.
Public method GetLongs(Int32, array<Int64>[]()[][], Int32)
Populates a Int64 array with longs retrieved from the message.
Public method GetSByte
Retrieves a single SByte from the message.
Public method GetSBytes()()()()
Retrieves an SByte array from the message.
Public method GetSBytes(Int32)
Retrieves an SByte array from the message.
Public method GetSBytes(Int32, array<SByte>[]()[][], Int32)
Populates a SByte array with bytes retrieved from the message.
Public method GetSerializable<(Of <<'(T>)>>)
Retrieves a serializable from the message.
Public method GetSerializables<(Of <<'(T>)>>)()()()()
Retrieves an array of serializables from the message.
Public method GetSerializables<(Of <<'(T>)>>)(Int32)
Retrieves an array of serializables from the message.
Public method GetSerializables<(Of <<'(T>)>>)(Int32, array<T>[]()[][], Int32)
Populates an array of serializables retrieved from the message.
Public method GetShort
Retrieves a Int16 from the message.
Public method GetShorts()()()()
Retrieves a Int16 array from the message.
Public method GetShorts(Int32)
Retrieves a Int16 array from the message.
Public method GetShorts(Int32, array<Int16>[]()[][], Int32)
Populates a Int16 array with shorts retrieved from the message.
Public method GetString
Retrieves a String from the message.
Public method GetStrings()()()()
Retrieves a String array from the message.
Public method GetStrings(Int32)
Retrieves a String array from the message.
Public method GetStrings(Int32, array<String>[]()[][], Int32)
Populates a String array with strings retrieved from the message.
Public method GetUInt
Retrieves a UInt32 from the message.
Public method GetUInts()()()()
Retrieves a UInt32 array from the message.
Public method GetUInts(Int32)
Retrieves a UInt32 array from the message.
Public method GetUInts(Int32, array<UInt32>[]()[][], Int32)
Populates a UInt32 array with uints retrieved from the message.
Public method GetULong
Retrieves a UInt64 from the message.
Public method GetULongs()()()()
Retrieves a UInt64 array from the message.
Public method GetULongs(Int32)
Retrieves a UInt64 array from the message.
Public method GetULongs(Int32, array<UInt64>[]()[][], Int32)
Populates a UInt64 array with ulongs retrieved from the message.
Public method GetUShort
Retrieves a UInt16 from the message.
Public method GetUShorts()()()()
Retrieves a UInt16 array from the message.
Public method GetUShorts(Int32)
Retrieves a UInt16 array from the message.
Public method GetUShorts(Int32, array<UInt16>[]()[][], Int32)
Populates a UInt16 array with ushorts retrieved from the message.
Public method Release
Returns the message instance to the internal pool so it can be reused.
Public method Static member TrimPool
Trims the message pool to a more appropriate size for how many EmbeddedServer and/or EmbeddedClient instances are currently running.

Fields


  Name Description
Public field Static member MaxHeaderSize
The maximum number of bytes required for a message's header.

Properties


  Name Description
Public property Static member InstancesPerPeer
How many messages to add to the pool for each EmbeddedServer or EmbeddedClient instance that is started.
Public property Static member MaxPayloadSize
The maximum number of bytes of payload data that a message can contain. This value represents how many bytes can be added to a message on top of the MaxHeaderSize.
Public property Static member MaxSize
The maximum number of bytes that a message can contain, including the MaxHeaderSize.
Public property ReadLength
How many bytes have been retrieved from the message.
Public property SendMode
The message's send mode.
Public property UnreadLength
How many more bytes can be retrieved from the message.
Public property UnwrittenLength
How many more bytes can be added to the message.
Public property WrittenLength
How many bytes have been added to the message.