aether::replication::protocol Class Reference

#include <repclient.hh>

Public Types

using stream_id = uint64_t
 

Public Member Functions

aether::container::ring_buffer< char > & get_send_buffer ()
 
aether::container::ring_buffer< char > & get_receive_buffer ()
 
void * tick (stream_id *, uint64_t *msg_size)
 
bool try_send (const void *data, size_t length)
 
bool try_send_authentication_payload (const void *data, size_t length)
 
bool try_authenticate_player_id (uint64_t id)
 
bool try_authenticate_player_id_with_token (uint64_t id, const std::array< unsigned char, 32 > &token)
 
void clear ()
 

Member Typedef Documentation

Member Function Documentation

void aether::replication::protocol::clear ( )
aether::container::ring_buffer<char>& aether::replication::protocol::get_receive_buffer ( )
aether::container::ring_buffer<char>& aether::replication::protocol::get_send_buffer ( )
void* aether::replication::protocol::tick ( stream_id ,
uint64_t *  msg_size 
)
bool aether::replication::protocol::try_authenticate_player_id ( uint64_t  id)
bool aether::replication::protocol::try_authenticate_player_id_with_token ( uint64_t  id,
const std::array< unsigned char, 32 > &  token 
)
bool aether::replication::protocol::try_send ( const void *  data,
size_t  length 
)
bool aether::replication::protocol::try_send_authentication_payload ( const void *  data,
size_t  length 
)