- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
41911a8b edd6 9cfa 7fc4 4d06b665f5f0
        Arthur Frederico Neves edited this page Jul 19, 2016 
        ·
        3 revisions
      
    Used by IOPackHandler(TPack) to classify and redirect incoming packs to the proper handle function. Refers to the first byte of the buffer.
Namespace: NETLIB
Assembly: NETLIB (in NETLIB.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public virtual byte ID { get; set; }VB
Public Overridable Property ID As Byte
	Get
	SetC++
public:
virtual property unsigned char ID {
	unsigned char get ();
	void set (unsigned char value);
}F#
abstract ID : byte with get, set
override ID : byte with get, setType: Byte
As with any application protocol it is required something to identify the kind of the package, thus, I set that the first byte in the buffer will be used for that purpose.
BasePack Class
NETLIB Namespace
IOPackHandler(TPack).OnReceivedPackCall(TPack)
NETLIB.Protocol(TPack)
Protocol.triggers
A Sandcastle Documented Class Library
Send comments on this topic to [](mailto:?Subject=A Sandcastle Documented Class Library)
- 
NETLIB Namespace
- 
BasePack Class
- BasePack Constructor
 - BasePack Properties
 - 
BasePack Methods
- BasePack.DeepCopy Method
 - BasePack.GetBool Method
 - BasePack.GetByte Method
 - BasePack.GetChar Method
 - BasePack.GetDouble Method
 - BasePack.GetFloat Method
 - BasePack.GetInt Method
 - BasePack.GetPackable(CustomType) Method
 - BasePack.GetString Method
 - BasePack.PutBool Method
 - BasePack.PutByte Method
 - BasePack.PutChar Method
 - BasePack.PutDouble Method
 - BasePack.PutFloat Method
 - BasePack.PutInt Method
 - BasePack.PutPackable(CustomType) Method
 - BasePack.PutString Method
 - BasePack.Read Method
 - BasePack.Write Method
 
 - BasePack Type Conversions
 - BasePack Fields
 
 - ConnectionClosedEventHandler Delegate
 - ConnectionClosedEventHandler(Type) Delegate
 - ConnectionClosedException Class
 - 
Consumer(TPack) Class
- Consumer(TPack) Constructor
 - Consumer(TPack) Properties
 - 
Consumer(TPack) Methods
- Consumer(TPack).CloseConnection Method
 - Consumer(TPack).Dispose Method
 - Consumer(TPack).EndConsume Method
 - Consumer(TPack).EndPublishConsume Method
 - Consumer(TPack).Finalize Method
 - Consumer(TPack).OnReceivedPackCall Method
 - Consumer(TPack).PackFactory Method
 - Consumer(TPack).SendPack Method
 - Consumer(TPack).Start Method
 - Consumer(TPack).StartConsume Method
 
 - Consumer(TPack) Events
 
 - ConsumerRunningException Class
 - IOBasePackHandler Class
 - IOPackHandler(TPack) Class
 - IPackable Interface
 - ListenerRunnigException Class
 - Protocol(TPack) Class
 - 
Publisher Class
- Publisher Constructor
 - Publisher Properties
 - Publisher Methods
 - Publisher Events
 - Publisher Fields
 
 - PublisherRunnigException Class
 - ThrowPackEventHandler(TPack) Delegate
 
 - 
BasePack Class
 - NETLIB.TCP Namespace
 - NETLIB.TCP.Server Namespace