|
| LineBasedClient (const std::string &delimiter, int retry_interval=10) |
|
virtual ASIOAsyncReadStream & | socket ()=0 |
|
virtual std::string | local_endpoint ()=0 |
|
virtual std::string | remote_endpoint ()=0 |
|
void | do_start () |
|
virtual bool | start_specific ()=0 |
|
void | do_write (const protobuf::Datagram &line) |
|
void | do_close (const boost::system::error_code &error) |
|
void | socket_close (const boost::system::error_code &error) |
|
void | set_active (bool active) |
|
std::string & | delimiter () |
|
std::deque< goby::util::protobuf::Datagram > & | in () |
|
boost::mutex & | in_mutex () |
|
|
enum | AccessOrder { NEWEST_FIRST,
OLDEST_FIRST
} |
|
| LineBasedInterface (const std::string &delimiter) |
|
void | start () |
|
void | close () |
|
bool | active () |
|
void | sleep (int sec) |
|
bool | readline (std::string *s, AccessOrder order=OLDEST_FIRST) |
| returns string line (including delimiter) More...
|
|
bool | readline (protobuf::Datagram *msg, AccessOrder order=OLDEST_FIRST) |
|
void | write (const std::string &s) |
|
void | write (const protobuf::Datagram &msg) |
|
void | clear () |
|
void | set_delimiter (const std::string &s) |
|
std::string | delimiter () const |
|
boost::asio::io_service & | io_service () |
|
| LineBasedConnection (LineBasedInterface *interface) |
|
void | read_start () |
|
void | write_start () |
|
void | read_complete (const boost::system::error_code &error) |
|
void | write_complete (const boost::system::error_code &error) |
|
std::deque< protobuf::Datagram > & | out () |
|
std::string | delimiter_ |
|
boost::asio::io_service | io_service_ |
|
std::deque< protobuf::Datagram > | in_ |
|
boost::mutex | in_mutex_ |
|
template<typename ASIOAsyncReadStream>
class goby::util::LineBasedClient< ASIOAsyncReadStream >
Definition at line 37 of file client_base.h.
The documentation for this class was generated from the following file: