Virtual Testbed
Ship dynamics simulator for extreme conditions
Public Member Functions | List of all members
vtb::srv::Remote_client< T > Class Template Reference

Public Member Functions

 Remote_client (sys::socket &&socket, const sys::socket_address &address, bool is_server)
 
 Remote_client (Remote_client &&rhs)
 
bool handshake ()
 
void process (const sys::epoll_event &ev, testbed_type &testbed)
 
void pull (testbed_type &testbed)
 
void push (const testbed_type &testbed)
 
void fill ()
 
void flush ()
 
sys::socket & socket () noexcept
 
const sys::socket & socket () const noexcept
 
const sys::socket_address & address () const noexcept
 
bool is_server () const noexcept
 
bool is_client () const noexcept
 
bool handshake_succeded () const noexcept
 
bool handshake_failed () const noexcept
 
void verbose (bool rhs) noexcept
 

Detailed Description

template<class T>
class vtb::srv::Remote_client< T >

Definition at line 33 of file remote_client.hh.