Member Enumeration Documentation
- Enumerator:
OFF |
|
RST1 |
|
RST2 |
|
PWRON1 |
|
PWRON2 |
|
DATA |
|
PWROFF1 |
|
PWROFF2 |
|
Constructor & Destructor Documentation
IpRelay::IpRelay |
( |
const IpRelay & |
| ) |
|
|
private |
IpRelay::IpRelay |
( |
const char * |
node, |
|
|
const char * |
service, |
|
|
pollfd & |
pfd |
|
) |
| |
|
inline |
Member Function Documentation
bool IpRelay::connected |
( |
| ) |
const |
|
inline |
void IpRelay::disconnect |
( |
| ) |
|
|
inline |
int IpRelay::handle |
( |
pollfd & |
pfd, |
|
|
char * |
buf, |
|
|
size_t |
size |
|
) |
| |
|
inline |
void IpRelay::poweroff |
( |
| ) |
|
|
inline |
int IpRelay::secs_until_poweroff |
( |
| ) |
|
|
inline |
void IpRelay::send |
( |
const string & |
str | ) |
|
|
inline |
void IpRelay::start_poweroff_countdown |
( |
| ) |
|
|
inline |
Member Data Documentation
struct addrinfo* IpRelay::ai |
|
private |
const char* IpRelay::node |
|
private |
struct timeval IpRelay::poweroff_countdown |
|
private |
const char* IpRelay::service |
|
private |
The documentation for this class was generated from the following file: