StormByte-Network 4.0.0
C++26 networking module of the StormByte suite
Loading...
Searching...
No Matches
typedefs.hxx File Reference
#include <StormByte/buffer/consumer.hxx>
#include <StormByte/buffer/fifo.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 <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
 Private native transport implementation.
namespace  StormByte::Network::Connection
 Connection namespace.

Typedefs

using StormByte::Network::Connection::HandlerType = int
 Native POSIX socket handle.
using StormByte::Network::ExpectedBuffer = StormByte::Expected<Buffer::FIFO, ConnectionError>
 Receive buffer or connection error result.
using StormByte::Network::ExpectedVoid = StormByte::Expected<void, ConnectionError>
 Void operation or connection error result.
using StormByte::Network::ExpectedClient = StormByte::Expected<StormByte::Safe::Shared<Socket::Client>, ConnectionError>
 Accepted client or connection error result.
using StormByte::Network::ExpectedReadResult = StormByte::Expected<Connection::Read::Result, ConnectionClosed>
 Wait-for-data result or closed connection error.
using StormByte::Network::PacketPointer = StormByte::Safe::Shared<Transport::Packet>
 Base-heap shared packet pointer.

Functions

 STORMBYTE_DECLARE_MAYBE_SAFE (StormByte::Network::DeserializePacketFunction)

Function Documentation

◆ STORMBYTE_DECLARE_MAYBE_SAFE()

STORMBYTE_DECLARE_MAYBE_SAFE ( StormByte::Network::DeserializePacketFunction )