Public Types |
| typedef ACE_INET_Addr | PEER_ADDR |
Public Methods |
| | ACE_TLI_Stream (void) |
| | Default constructor.
|
| int | close (void) |
| | Close down and release resources.
|
| int | active_close (void) |
| | Send a release and then await the release from the other side.
|
| int | passive_close (void) |
| | Acknowledge the release from the other side and then send the release to the other side.
|
| int | get_remote_addr (ACE_Addr &) const |
| | Return address of remotely connected peer.
|
| ssize_t | send (const void *buf, size_t n, int flags, const ACE_Time_Value *timeout = 0) const |
| | Send an n byte buffer to the connected socket (uses t_snd(3)). Recv an n byte buffer from the connected socket (uses t_rcv(3)).
|
| ssize_t | recv (void *buf, size_t n, int *flags, const ACE_Time_Value *timeout = 0) const |
| ssize_t | send_n (const void *buf, size_t n, int flags, const ACE_Time_Value *timeout = 0, size_t *bytes_transferred = 0) const |
| | Send exactly n bytes to the connected socket (uses t_snd(3)). Recv exactly n bytes from the connected socket (uses t_rcv(3)).
|
| ssize_t | recv_n (void *buf, size_t n, int *flags, const ACE_Time_Value *timeout = 0, size_t *bytes_transferred = 0) const |
| ssize_t | send (const void *buf, size_t n, const ACE_Time_Value *timeout = 0) const |
| | Send an n byte buffer to the connected socket (uses write(2)).
|
| ssize_t | recv (void *buf, size_t n, const ACE_Time_Value *timeout = 0) const |
| | Recv an n byte buffer from the connected socket (uses read(2)).
|
| ssize_t | send_n (const void *buf, size_t n, const ACE_Time_Value *timeout = 0, size_t *bytes_transferred = 0) const |
| | Send n bytes, keep trying until n are sent (uses write(2)).
|
| ssize_t | recv_n (void *buf, size_t n, const ACE_Time_Value *timeout = 0, size_t *bytes_transferred = 0) const |
| | Recv n bytes, keep trying until n are received (uses read (2)).
|
| void | dump (void) const |
| | Dump the state of an object.
|
Public Attributes |
| | ACE_ALLOC_HOOK_DECLARE |
| | Declare the dynamic allocation hooks.
|
Private Methods |
| int | get_rwflag (void) |
| void | set_rwflag (int) |
Private Attributes |
| int | rwflag_ |
| | Indicates whether the tirdwr module should be pushed.
|
Friends |
| class | ACE_TLI_Acceptor |
| class | ACE_TLI_Connector |