#include <device.h>
Public Member Functions | |
Control (boost::asio::io_service &io_service, const std::string &remote_device_ip) | |
bool | initStream () |
bool | open () |
bool | startStream () |
bool | stopStream () |
Private Member Functions | |
void | on_data (const char *data, const size_t size, Any_Session *writer) |
Private Attributes | |
Any_Session::SIG_ON_DATA | on_data_ |
signal handler for incoming data | |
const std::string | remote_device_ip_ |
bool | stream_started_ |
Control::Control | ( | boost::asio::io_service & | io_service, |
const std::string & | remote_device_ip | ||
) | [inline] |
bool Control::initStream | ( | ) | [inline] |
void Control::on_data | ( | const char * | data, |
const size_t | size, | ||
Any_Session * | writer | ||
) | [inline, private] |
bool Control::open | ( | ) | [inline] |
bool Control::startStream | ( | ) | [inline] |
bool Control::stopStream | ( | ) | [inline] |
Any_Session::SIG_ON_DATA Control::on_data_ [private] |
signal handler for incoming data
Reimplemented from Any_Session.
const std::string Control::remote_device_ip_ [private] |
bool Control::stream_started_ [private] |