|
| | ACE_TTY_IO () |
| |
| int | control (Control_Mode cmd, Serial_Params *arg) const |
| |
| | ACE_DEV_IO () |
| | Default constructor.
|
| |
| ssize_t | send (const void *buf, size_t n) const |
| | send upto n bytes in buf.
|
| |
| ssize_t | recv (void *buf, size_t n) const |
| | Recv upto n bytes in buf.
|
| |
| ssize_t | send_n (const void *buf, size_t n) const |
| | Send n bytes, keep trying until n are sent.
|
| |
| ssize_t | recv_n (void *buf, size_t n, const ACE_Time_Value *timeout=0, size_t *bytes_transferred=0) const |
| | Declare the dynamic allocation hooks.
|
| |
| ssize_t | send (const iovec iov[], size_t n) const |
| | Send iovecs via <::writev>.
|
| |
| ssize_t | recv (iovec iov[], size_t n) const |
| | Recv iovecs via <::readv>.
|
| |
| ssize_t | send (size_t n,...) const |
| |
| ssize_t | recv (size_t n,...) const |
| |
| ssize_t | send (const void *buf, size_t n, ACE_OVERLAPPED *overlapped) const |
| | Send n bytes via Win32 WriteFile using overlapped I/O.
|
| |
| ssize_t | recv (void *buf, size_t n, ACE_OVERLAPPED *overlapped) const |
| | Recv n bytes via Win32 ReadFile using overlapped I/O.
|
| |
| void | dump () const |
| | Dump the state of an object.
|
| |
| int | get_local_addr (ACE_DEV_Addr &) const |
| | Return the local endpoint address.
|
| |
| int | get_remote_addr (ACE_DEV_Addr &) const |
| |
| int | close () |
| | Close down the DEVICE.
|
| |
| void | dump () const |
| | Dump the state of an object.
|
| |
| int | disable (int signum) const |
| |
| | ~ACE_IO_SAP () |
| | Default dtor.
|
| |
| int | control (int cmd, void *) const |
| | Interface for ioctl.
|
| |
| int | enable (int value) const |
| |
| int | disable (int value) const |
| |
| ACE_HANDLE | get_handle () const |
| | Get the underlying handle.
|
| |
| void | set_handle (ACE_HANDLE handle) |
| | Set the underlying handle.
|
| |
| void | dump () const |
| | Dump the state of an object.
|
| |
Class definitions for platform specific TTY features.
This class represents an example interface for a specific device (a serial line). It extends the capability of the underlying DEV_IO class by adding a control method that takes a special structure (Serial_Params) as argument to allow a comfortable user interface (away from that annoying termios structure, which is very specific to UNIX).