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

ProtocolALMessage Members

The ProtocolALMessage type exposes the following members.

Methods


  Name Description
Public method CheckResponseFrame
Checks if the frame is exactly what we are looking for.
Public method CopyFromBuffor
Copies data from IDBuffer to unmanaged memory pointer starting at offset 0. Offste is ste to first empty byte.
(Inherited from UMessage.)
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.
(Inherited from UMessage.)
Protected method Dispose (Inherited from UMessage.)
Public method End_block
Calculated the length of the block in bytes and writes it in the position marked by Start_block.
(Inherited from UMessage.)
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.
(Inherited from UMessage.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ReadByte
Reads a char value from UMessage.
(Inherited from UMessage.)
Public method ReadChar
Reads a char value from UMessage.
(Inherited from UMessage.)
Public method ReadInt16
Reads a 16-bit integer value from UMessage.
(Inherited from UMessage.)
Public method ReadInt32
READ a 32-bit integer value from UMessage.
(Inherited from UMessage.)
Public method ReadInt64
Read a 64-bit integer value from UMessage.
(Inherited from UMessage.)
Public method ReadIntPtr
Reads a processor native sized pointer value from UMessage.
(Inherited 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.
(Inherited from UMessage.)
Public method ReadString(Int16)
Reads a string of a specified length from UMessage as string of ASCII char
(Inherited from UMessage.)
Public method ReadValue
Read the selected contend (value) from the message in the requested type. If the address space cannot contain values in this type no conversion is done.
Public method ResetContent
Clears the message.
(Inherited from UMessage.)
Public method ReturnEmptyEnvelope
Used by a user to return an empty envelope to the common pool. It also resets the message content.
Public method SetBlockDescription(Int32, Int32, Int16, Int32)
Assigns description of the block of data to the message.
Public method SetBlockDescription(Int32, IBlockDescription)
Assigns description of the block of data to 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.
(Inherited from UMessage.)
Public method ToString
Retrieves a string representation of the object.
Protected method TraceEvent (Inherited from UMessage.)
Public method WriteByte
Writes a byte value into UMessage.
(Inherited from UMessage.)
Public method WriteChar
Convert char to byte and writes it into UMessage.
(Inherited from UMessage.)
Public method WriteInt16
Writes a 16-bit integer value into UMessage.
(Inherited from UMessage.)
Public method WriteInt32
Writes a 32-bit integer value into UMessage.
(Inherited from UMessage.)
Public method WriteInt64
Write a 64-bit integer value from UMessage.
(Inherited from UMessage.)
Public method WriteIntPtr
Writes a processor native sized pointer value into UMessage.
(Inherited from UMessage.)
Public method WriteString
Writes a string into UMessage as string of ASCII char
(Inherited from UMessage.)
Public method WriteValue
Writes the value to the message in the requested type. If the address space cannot contain values in the type of pValue no conversion is done.

Properties


  Name Description
Public property GetCommand
A command a master station request to be processed by this station – slave station on the field bus network.
Public property NotEmpty
true if buffer is not empty.
(Inherited from UMessage.)
Public property offset
Gets and sets offset to current byte
(Inherited from UMessage.)
Public property STRING
Return information about this message as string.
(Inherited from UMessage.)
Public property uMessagePtr
Gets pointer tu message in the umanaged memory
(Inherited from UMessage.)
Public property userBuffLength
Number of bytes deposited in the buffer. Position of the firs empty position in the buffer.
(Inherited from UMessage.)
Public property userDataLength
User data length
(Inherited from UMessage.)