StormByte-Network 2.0.0
C++26 networking module of the StormByte suite
 
Loading...
Searching...
No Matches
typedefs.hxx File Reference
#include <StormByte/buffer/fifo.hxx>
#include <StormByte/buffer/consumer.hxx>
#include <StormByte/expected.hxx>
#include <StormByte/logger/log.hxx>
#include <StormByte/network/connection/protocol.hxx>
#include <StormByte/network/connection/rw.hxx>
#include <StormByte/network/connection/status.hxx>
#include <StormByte/network/exception.hxx>
#include <StormByte/network/transport/packet.hxx>
#include <StormByte/safe/pointers.hxx>
#include <StormByte/type_traits.hxx>
#include <winsock2.h>
#include <memory>
#include <utility>
Include dependency graph for typedefs.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StormByte::Network::DeserializePacketFunction
 Caller-owned callback that builds a packet from opcode and payload. More...
 

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
 
namespace  StormByte::Network
 Network module of the StormByte suite.
 
namespace  StormByte::Network::Socket
 
namespace  StormByte::Network::Connection
 Connection types of the Network module.
 

Typedefs

using StormByte::Network::Connection::HandlerType = int
 Native socket handle (POSIX)
 
using StormByte::Network::ExpectedBuffer = StormByte::Expected< Buffer::FIFO, ConnectionError >
 Receive buffer result.
 
using StormByte::Network::ExpectedVoid = StormByte::Expected< void, ConnectionError >
 Void operation result.
 
using StormByte::Network::ExpectedClient = StormByte::Expected< std::shared_ptr< Socket::Client >, ConnectionError >
 Accept result.
 
using StormByte::Network::ExpectedReadResult = StormByte::Expected< Connection::Read::Result, ConnectionClosed >
 Wait-for-data result.
 
using StormByte::Network::PacketPointer = std::shared_ptr< Transport::Packet >
 Shared packet.