TAO_AV
2.1.3
|
A Base class for the different transport protocols. All the different transports should derive and implement the open,close,send and recv methods. More...
#include <Transport.h>
Public Member Functions | |
TAO_AV_Transport (void) | |
virtual | ~TAO_AV_Transport (void) |
virtual int | open (ACE_Addr *address)=0 |
virtual int | close (void)=0 |
virtual int | mtu (void)=0 |
Write the complete Message_Block chain to the connection. | |
virtual ACE_Addr * | get_peer_addr (void)=0 |
virtual ACE_Addr * | get_local_addr (void) |
virtual ssize_t | send (const ACE_Message_Block *mblk, ACE_Time_Value *s=0)=0 |
virtual ssize_t | send (const char *buf, size_t len, ACE_Time_Value *s=0)=0 |
Write the contents of the buffer of length len to the connection. | |
virtual ssize_t | send (const iovec *iov, int iovcnt, ACE_Time_Value *s=0)=0 |
Write the contents of iovcnt iovec's to the connection. | |
virtual ssize_t | recv (char *buf, size_t len, ACE_Time_Value *s=0)=0 |
Read len bytes from into buf. | |
virtual ssize_t | recv (char *buf, size_t len, int flags, ACE_Time_Value *s=0)=0 |
Read len bytes from into buf using flags. | |
virtual ssize_t | recv (iovec *iov, int iovcnt, ACE_Time_Value *s=0)=0 |
Read received data into the iovec buffers. |
A Base class for the different transport protocols. All the different transports should derive and implement the open,close,send and recv methods.
TAO_AV_Transport::TAO_AV_Transport | ( | void | ) |
|
virtual |
|
pure virtual |
Implemented in TAO_AV_TCP_Transport, TAO_AV_UDP_Transport, and TAO_AV_UDP_MCast_Transport.
|
virtual |
Reimplemented in TAO_AV_UDP_MCast_Transport.
|
pure virtual |
Implemented in TAO_AV_TCP_Transport, TAO_AV_UDP_Transport, and TAO_AV_UDP_MCast_Transport.
|
pure virtual |
Write the complete Message_Block chain to the connection.
Implemented in TAO_AV_TCP_Transport, TAO_AV_UDP_Transport, and TAO_AV_UDP_MCast_Transport.
|
pure virtual |
Implemented in TAO_AV_TCP_Transport, TAO_AV_UDP_Transport, and TAO_AV_UDP_MCast_Transport.
|
pure virtual |
Read len bytes from into buf.
Implemented in TAO_AV_TCP_Transport, TAO_AV_UDP_Transport, and TAO_AV_UDP_MCast_Transport.
|
pure virtual |
Read len bytes from into buf using flags.
Implemented in TAO_AV_TCP_Transport, TAO_AV_UDP_Transport, and TAO_AV_UDP_MCast_Transport.
|
pure virtual |
Read received data into the iovec buffers.
Implemented in TAO_AV_TCP_Transport, TAO_AV_UDP_Transport, and TAO_AV_UDP_MCast_Transport.
|
pure virtual |
Implemented in TAO_AV_TCP_Transport, TAO_AV_UDP_Transport, and TAO_AV_UDP_MCast_Transport.
|
pure virtual |
Write the contents of the buffer of length len to the connection.
Implemented in TAO_AV_TCP_Transport, TAO_AV_UDP_Transport, and TAO_AV_UDP_MCast_Transport.
|
pure virtual |
Write the contents of iovcnt iovec's to the connection.
Implemented in TAO_AV_TCP_Transport, TAO_AV_UDP_Transport, and TAO_AV_UDP_MCast_Transport.