#include <port.h>
Public Member Functions | |
PtyPort (const char *path, struct pollfd *pollfd_ptr) | |
virtual ssize_t | read (void *buf, size_t count) |
virtual ssize_t | write (void *buf, size_t count) |
virtual | ~PtyPort () |
Private Member Functions | |
void | _create_pty () |
void | _respawn_pty () |
Private Attributes | |
const char * | m_path |
int | m_slavefd |
PtyPort::PtyPort | ( | const char * | path, |
struct pollfd * | pollfd_ptr | ||
) |
PtyPort::~PtyPort | ( | ) | [virtual] |
void PtyPort::_create_pty | ( | ) | [private] |
void PtyPort::_respawn_pty | ( | ) | [private] |
ssize_t PtyPort::read | ( | void * | buf, |
size_t | count | ||
) | [virtual] |
ssize_t PtyPort::write | ( | void * | buf, |
size_t | count | ||
) | [virtual] |
const char* PtyPort::m_path [private] |
int PtyPort::m_slavefd [private] |