-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Arthur Frederico Neves edited this page Jul 19, 2016
·
7 revisions
Namespace that contains the basic tools for creation and use of network managers and package managers
Class | Description | |
---|---|---|
![]() ![]() |
BasePack | Is the basic unit of the network communication, in other words all the information that travels over the network is converted in BasePack before transmission and is subsequently reassembled by the receiver. It simplifies operations with the network buffer and handle reading and writing. |
![]() |
ConnectionClosedException | Throws when trying to start a Publisher with a closed stream. |
![]() |
Consumer(TPack) | Describes the class that will be responsible for consuming the packages, meaning it will build packages with the buffers published by a publisher and will launch an event for every pack to be treated. |
![]() |
ConsumerRunningException | Throws when trying to start a Consumer(TPack) that is already running. |
![]() ![]() |
IOBasePackHandler | Better manage the incoming and outgoing BasePack using a Protocol(TPack) to redistribute the packs. It has an internal dictionary of Protocol(TPack) that can be exchanged for the currently used. |
![]() |
IOPackHandler(TPack) | Better manage the incoming and outgoing TPack using a Protocol(TPack) to redistribute the packs. It has an internal dictionary of Protocol(TPack) that can be exchanged for the currently used. |
![]() |
ListenerRunnigException | Throws when trying to start a TCPListenerHandler that is already running. |
![]() ![]() |
Protocol(TPack) | Responsible for managing a communication protocol, in other words, analyze an incoming packet, check for a method of treatment registered for that type of package, if any, the method is called to handle the package, if not a generic event is called to handle the incoming pack. Idealised to facilitate handling packages and management protocols, especially in cases where the client continuously migrates between different protocols. |
![]() |
Publisher | Describes a pack publisher, which will be responsible for managing the incoming packs, adding them in a packQueue and by setting an incomingPackEvent to signal to the Consume() that there is a packet in the queue. |
![]() |
PublisherRunnigException | Throws when trying to start a Publisher that is already running. |
Interface | Description | |
---|---|---|
![]() ![]() |
IPackable | Interface which describes the methods for packing and unpacking the calling Class in a package called BasePack. Use when you want to send/receive the class on the network. This interface describe the necessary methods that allow the class insert itself in a BasePack. Used by BasePack to insert a custom class in the buffer |
Delegate | Description | |
---|---|---|
![]() |
ConnectionClosedEventHandler | Delegate used by the event ConnectionClosed to encapsulete a method that will be called when the connection close. |
![]() |
ConnectionClosedEventHandler(Type) | Delegate used by the event ConnectionClosed to encapsulete a method that will be called when the connection close. |
![]() |
ThrowPackEventHandler(TPack) | Delegate used to encapsulate a method tha will be called when a package is consumed. |
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