BaseStation.ItemDescriber Namespace
CAS.DataPorter.Configurator Namespace
CAS.Lib.CommonBus Namespace
CAS.Lib.CommonBus.ApplicationLayer Namespace
CAS.Lib.CommonBus.CommunicationLayer Namespace
CAS.Lib.DeviceSimulator Namespace
CAS.NetworkConfigLib Namespace
Object-Oriented Internet Process-Observer

UMessage Members

The UMessage type exposes the following members.

Constructors


  Name Description
Public method UMessage
Message with buffer located in unmanaged memory

Methods


  Name Description
Public method CopyFromBuffor
Copies data from IDBuffer to unmanaged memory pointer starting at offset 0. Offste is ste to first empty byte.
Public method CopyToBuffor
Copies data from unmanaged memory pointer to UMessage starting at offset 0. After copping offset point on next free byte in UMesasage.
Public method End_block
Calculated the length of the block in bytes and writes it in the position marked by Start_block.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetManagedBuffer
Copy unmanaged contenes to the array of bytes.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ReadByte
Reads a char value from UMessage.
Public method ReadChar
Reads a char value from UMessage.
Public method ReadInt16
Reads a 16-bit integer value from UMessage.
Public method ReadInt32
READ a 32-bit integer value from UMessage.
Public method ReadInt64
Read a 64-bit integer value from UMessage.
Public method ReadIntPtr
Reads a processor native sized pointer value from UMessage.
Public method ReadString()()()()
Reads a string from UMessage as string of ASCII char assuming that the first byte is the length of dtring.
Public method ReadString(Int16)
Reads a string of a specified length from UMessage as string of ASCII char
Public method ResetContent
Clears the message.
Public method Start_block
Starts block operation. Leave the current byte as the location for length of the block calculated by the End_block operation.
Public method ToString
Retrieves a string representation of the object.
Public method WriteByte
Writes a byte value into UMessage.
Public method WriteChar
Convert char to byte and writes it into UMessage.
Public method WriteInt16
Writes a 16-bit integer value into UMessage.
Public method WriteInt32
Writes a 32-bit integer value into UMessage.
Public method WriteInt64
Write a 64-bit integer value from UMessage.
Public method WriteIntPtr
Writes a processor native sized pointer value into UMessage.
Public method WriteString
Writes a string into UMessage as string of ASCII char

Properties


  Name Description
Public property Item
indexer allows random access to umanaged buffor
Public property NotEmpty
true if buffer is not empty.
Public property offset
Gets and sets offset to current byte
Public property STRING
Return information about this message as string.
Public property uMessagePtr
Gets pointer tu message in the umanaged memory
Public property userBuffLength
Number of bytes deposited in the buffer. Position of the firs empty position in the buffer.
Public property userDataLength
User data length