Namespace TM
Classes
BufferChunk
----------------------------------------------------------------
BufferChunk is a helper class created to make network
calls in DotNet easier by allowing byte[] to be passed
around along with an index (or offset) and length (or chunksize).
Members:
----------------------------------------------------------------
- index - offset inside the buffer where valid data starts
- length - amount of valid data
- buffer - byte[] containing the data
Except for constructors (which set index and length member
variables), when index and length are passed as parameters,
they are used as offsets into the valid data, not offsets
into the buffer.
Object State:
----------------------------------------------------------------
BufferChunk does not accept or return null or zero-length objects.
However, it is valid
for a BufferChunk to be in a state where it has no data to
manipulate i.e. length == 0 this.index + this.length cannot be >
buffer.Length index + length cannot be > this.length when
manipulating inside the valid data
index must be >= 0
length must be >= 0
Integral types:
--------------------------------------------------------------
BufferChunk allows the reading and writing of integral types
(Int16, Int32, Int64 and the unsigned counterparts)
into the byte[].
Implements the System.IDisposable
Implements the System.ICloneable
BufferChunkExt
Client
Implements the System.IDisposable
Extensions
Globals
InsufficientDataException
Implements the System.ApplicationException
InsufficientSpaceException
Implements the System.ApplicationException
NoDataException
Implements the System.ApplicationException
Packet
PacketSignature
SendCommandException
Implements the System.Exception
SendDataException
Implements the System.Exception
SendInfoException
Implements the System.Exception
Structs
PacketHeader
Enums
ECommandError
при пополнении править: GetLastErrorDescription, список расшифровок
EComPortErr
EConfigTag
EConnectType
используется в ParseTagAsString, ParseConnectType, _DataServer_Info2Tree,
ConnectToServer, DisconnectFromServer, IsConnected