EPS Conduits  v0.0.2-2413
networking over networking
EPS::UDPConnection Class Referencefinal

UDP connection. More...

#include "UDPConnection.hpp"

Inheritance diagram for EPS::UDPConnection:
Collaboration diagram for EPS::UDPConnection:

Public Member Functions

 UDPConnection (void)
 Constructor. More...
 
virtual ~UDPConnection (void)
 Destructor. More...
 
virtual void set_socket_options (void)
 Set various socket options. More...
 

Public Attributes

size_t id
 unique connection id, helpful when logging connection-specific messages More...
 
std::string name
 convenient name to use for logging More...
 
UUID uuid
 corresponding UUID for this peer connection More...
 
Hullhull
 for convenience, keep a reference to the hull that created this connection More...
 
EC ec
 boost error code More...
 

Detailed Description

UDP connection.

Constructor & Destructor Documentation

◆ UDPConnection()

EPS::UDPConnection::UDPConnection ( void  )

Constructor.

◆ ~UDPConnection()

EPS::UDPConnection::~UDPConnection ( void  )
virtual

Destructor.

Member Function Documentation

◆ set_socket_options()

virtual void EPS::UDPConnection::set_socket_options ( void  )
inlinevirtual

Set various socket options.

Implements EPS::Connection.

Member Data Documentation

◆ ec

EC EPS::Connection::ec
inherited

boost error code

◆ hull

Hull& EPS::Connection::hull
inherited

for convenience, keep a reference to the hull that created this connection

◆ id

size_t EPS::Connection::id
inherited

unique connection id, helpful when logging connection-specific messages

◆ name

std::string EPS::Connection::name
inherited

convenient name to use for logging

◆ uuid

UUID EPS::Connection::uuid
inherited

corresponding UUID for this peer connection

See also
EPS::Tracker which uses the uuid as the key

The documentation for this class was generated from the following files: