|
ACE
6.3.4
|
Defines the member functions for ACE_TLI_Stream abstraction. More...
#include <TLI_Stream.h>


Public Types | |
| typedef ACE_INET_Addr | PEER_ADDR |
Public Member Functions | |
| ACE_TLI_Stream (void) | |
| Default constructor. More... | |
| int | close (void) |
| Close down and release resources. More... | |
| int | active_close (void) |
| Send a release and then await the release from the other side. More... | |
| int | passive_close (void) |
| int | get_remote_addr (ACE_Addr &) const |
| Return address of remotely connected peer. More... | |
| 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)). More... | |
| ssize_t | recv (void *buf, size_t n, int *flags, const ACE_Time_Value *timeout=0) const |
| Recv an n byte buffer from the connected socket (uses t_rcv(3)). More... | |
| 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)). More... | |
| ssize_t | recv_n (void *buf, size_t n, int *flags, const ACE_Time_Value *timeout=0, size_t *bytes_transferred=0) const |
| Recv exactly n bytes from the connected socket (uses t_rcv(3)). More... | |
| 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)). More... | |
| 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)). More... | |
| 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)). More... | |
| 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)). More... | |
| void | dump (void) const |
| Dump the state of an object. More... | |
Public Member Functions inherited from ACE_TLI | |
| ACE_HANDLE | open (const char device[], int oflag=O_RDWR, struct t_info *info=0) |
| Initialize a TLI endpoint. More... | |
| int | close (void) |
| Close a TLI endpoint and release resources. More... | |
| int | set_option (int level, int option, void *optval, int optlen) |
| Set underlying protocol options. More... | |
| int | get_option (int level, int option, void *optval, int &optlen) |
| Get underlying protocol options. More... | |
| int | look (void) const |
| int | rcvdis (struct t_discon *=0) const |
| int | snddis (struct t_call *=0) const |
| int | sndrel (void) const |
| int | rcvrel (void) const |
| int | get_local_addr (ACE_Addr &) const |
| Return our local endpoint address. More... | |
| void | dump (void) const |
| Dump the state of an object. More... | |
Public Member Functions inherited from ACE_IPC_SAP | |
| int | control (int cmd, void *) const |
| Interface for <ioctl>. More... | |
| int | enable (int value) const |
| int | disable (int value) const |
| ACE_HANDLE | get_handle (void) const |
| Get the underlying handle. More... | |
| void | set_handle (ACE_HANDLE handle) |
| Set the underlying handle. More... | |
| void | dump (void) const |
| Dump the state of an object. More... | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Public Attributes inherited from ACE_TLI | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Public Attributes inherited from ACE_IPC_SAP | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Private Member Functions | |
| int | get_rwflag (void) const |
| Get rwflag. More... | |
| void | set_rwflag (int value) |
| Set rwflag. More... | |
Private Attributes | |
| int | rwflag_ |
| Indicates whether the tirdwr module should be pushed. More... | |
Friends | |
| class | ACE_TLI_Acceptor |
| class | ACE_TLI_Connector |
Additional Inherited Members | |
Protected Member Functions inherited from ACE_TLI | |
| ACE_TLI (void) | |
| Default constructor. More... | |
| ~ACE_TLI (void) | |
| Destructor. More... | |
| ACE_TLI (const char device[], int oflag=O_RDWR, struct t_info *info=0) | |
| Initialize a TLI endpoint. More... | |
Protected Member Functions inherited from ACE_IPC_SAP | |
| ACE_IPC_SAP (void) | |
| Default constructor. More... | |
| ~ACE_IPC_SAP (void) | |
| Protected destructor. More... | |
Defines the member functions for ACE_TLI_Stream abstraction.
| ACE_TLI_Stream::ACE_TLI_Stream | ( | void | ) |
Default constructor.
| int ACE_TLI_Stream::active_close | ( | void | ) |
Send a release and then await the release from the other side.
| int ACE_TLI_Stream::close | ( | void | ) |
Close down and release resources.
| void ACE_TLI_Stream::dump | ( | void | ) | const |
Dump the state of an object.
| int ACE_TLI_Stream::get_remote_addr | ( | ACE_Addr & | sa | ) | const |
Return address of remotely connected peer.
|
inlineprivate |
Get rwflag.
| int ACE_TLI_Stream::passive_close | ( | void | ) |
Acknowledge the release from the other side and then send the release to the other side.
| ssize_t ACE_TLI_Stream::recv | ( | void * | buf, |
| size_t | n, | ||
| int * | flags, | ||
| const ACE_Time_Value * | timeout = 0 |
||
| ) | const |
Recv an n byte buffer from the connected socket (uses t_rcv(3)).
| ssize_t ACE_TLI_Stream::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 ACE_TLI_Stream::recv_n | ( | void * | buf, |
| size_t | n, | ||
| int * | flags, | ||
| const ACE_Time_Value * | timeout = 0, |
||
| size_t * | bytes_transferred = 0 |
||
| ) | const |
Recv exactly n bytes from the connected socket (uses t_rcv(3)).
| ssize_t ACE_TLI_Stream::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)).
| ssize_t ACE_TLI_Stream::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)).
| ssize_t ACE_TLI_Stream::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 ACE_TLI_Stream::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)).
| ssize_t ACE_TLI_Stream::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)).
|
inlineprivate |
Set rwflag.
|
friend |
|
friend |
| ACE_TLI_Stream::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
private |
Indicates whether the tirdwr module should be pushed.
1.8.9.1