libmoost
|
Public Member Functions | |
session_io_socket (socket_ptr socket) | |
void | set_nodelay () |
std::string | get_peer_string () const |
void | close () |
template<typename HandlerT > | |
void | write_stdout (const std::string &data, HandlerT handler) |
template<typename HandlerT > | |
void | write_stderr (const std::string &data, HandlerT handler) |
template<typename HandlerT > | |
void | read_some (void *data, size_t size, HandlerT handler) |
Private Attributes | |
socket_ptr | m_socket |
mutex | m_mutex |
Definition at line 166 of file remote_shell.cpp.
session_io_socket::session_io_socket | ( | socket_ptr | socket | ) | [inline] |
Definition at line 169 of file remote_shell.cpp.
void session_io_socket::close | ( | ) | [inline] |
Definition at line 186 of file remote_shell.cpp.
std::string session_io_socket::get_peer_string | ( | ) | const [inline] |
Definition at line 179 of file remote_shell.cpp.
void session_io_socket::read_some | ( | void * | data, |
size_t | size, | ||
HandlerT | handler | ||
) | [inline] |
Definition at line 207 of file remote_shell.cpp.
void session_io_socket::set_nodelay | ( | ) | [inline] |
Definition at line 174 of file remote_shell.cpp.
void session_io_socket::write_stderr | ( | const std::string & | data, |
HandlerT | handler | ||
) | [inline] |
Definition at line 200 of file remote_shell.cpp.
void session_io_socket::write_stdout | ( | const std::string & | data, |
HandlerT | handler | ||
) | [inline] |
Definition at line 193 of file remote_shell.cpp.
mutex session_io_socket::m_mutex [private] |
Definition at line 215 of file remote_shell.cpp.
socket_ptr session_io_socket::m_socket [private] |
Definition at line 214 of file remote_shell.cpp.