|
StormByte C++ Library: Network module 0.0.9999
StormByte-Network is a StormByte library module for handling and create network connections
|
Contains all the network-related classes and utilities. More...
Namespaces | |
| namespace | Socket |
| The packet class (forward declaration). | |
Classes | |
| class | Client |
| The class representing a client. More... | |
| class | ConnectionClosed |
| The class representing a terminated connection. More... | |
| class | ConnectionError |
| The class representing an error in the connection. More... | |
| class | EndPoint |
| Represents a network endpoint, serving as a base class for both clients and servers. More... | |
| class | Exception |
| The class representing an exception in the network module. More... | |
| class | Packet |
| Represents a network packet. More... | |
| class | PacketError |
| The class representing an error in the packet. More... | |
| class | Server |
| A server class. More... | |
Typedefs | |
| using | FutureBuffer = std::future< Buffer::Simple > |
| The future data type. | |
| using | PromisedBuffer = std::promise< Buffer::Simple > |
| The promised data type. | |
| using | ExpectedBuffer = StormByte::Expected< Buffer::Simple, ConnectionError > |
| The expected buffer type. | |
| using | ExpectedFutureBuffer = StormByte::Expected< FutureBuffer, ConnectionError > |
| The expected future type. | |
| using | ExpectedVoid = StormByte::Expected< void, ConnectionError > |
| The expected void type. | |
| using | ExpectedClient = StormByte::Expected< Socket::Client, ConnectionError > |
| The expected client type. | |
| using | ExpectedReadResult = StormByte::Expected< Connection::Read::Result, ConnectionClosed > |
| The expected read result type. ///< The expected handler type. | |
| using | FutureBufferProcessor = std::function< StormByte::Expected< FutureBuffer, ConnectionError >(Socket::Client &, FutureBuffer &)> |
| The future data function type. | |
| using | SharedConsumerBuffer = std::shared_ptr< Buffer::Consumer > |
| The shared consumer buffer type. | |
| using | SharedProducerBuffer = std::shared_ptr< Buffer::Producer > |
| The shared producer buffer type. | |
| using | ExpectedPacket = StormByte::Expected< std::shared_ptr< Packet >, PacketError > |
| The expected packet type. | |
| using | PacketInstanceFunction = std::function< std::shared_ptr< Packet >(const unsigned short &)> |
| The packet instance function type. | |
| using | PacketReaderFunction = std::function< ExpectedBuffer(const size_t &)> |
| The packet reader function type. | |
Contains all the network-related classes and utilities.
The namespace containing all the network-related classes.