#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. |
TAO_AV_Transport::TAO_AV_Transport | ( | void | ) |
TAO_AV_Transport::~TAO_AV_Transport | ( | void | ) | [virtual] |
virtual int TAO_AV_Transport::open | ( | ACE_Addr * | address | ) | [pure virtual] |
Implemented in TAO_AV_UDP_MCast_Transport, TAO_AV_TCP_Transport, and TAO_AV_UDP_Transport.
virtual int TAO_AV_Transport::close | ( | void | ) | [pure virtual] |
Implemented in TAO_AV_UDP_MCast_Transport, TAO_AV_TCP_Transport, and TAO_AV_UDP_Transport.
virtual int TAO_AV_Transport::mtu | ( | void | ) | [pure virtual] |
Write the complete Message_Block chain to the connection.
Implemented in TAO_AV_UDP_MCast_Transport, TAO_AV_TCP_Transport, and TAO_AV_UDP_Transport.
virtual ACE_Addr* TAO_AV_Transport::get_peer_addr | ( | void | ) | [pure virtual] |
Implemented in TAO_AV_UDP_MCast_Transport, TAO_AV_TCP_Transport, and TAO_AV_UDP_Transport.
ACE_Addr * TAO_AV_Transport::get_local_addr | ( | void | ) | [virtual] |
Reimplemented in TAO_AV_UDP_MCast_Transport.
virtual ssize_t TAO_AV_Transport::send | ( | const ACE_Message_Block * | mblk, | |
ACE_Time_Value * | s = 0 | |||
) | [pure virtual] |
Implemented in TAO_AV_UDP_MCast_Transport, TAO_AV_TCP_Transport, and TAO_AV_UDP_Transport.
virtual ssize_t TAO_AV_Transport::send | ( | const char * | buf, | |
size_t | len, | |||
ACE_Time_Value * | s = 0 | |||
) | [pure virtual] |
Write the contents of the buffer of length len to the connection.
Implemented in TAO_AV_UDP_MCast_Transport, TAO_AV_TCP_Transport, and TAO_AV_UDP_Transport.
virtual ssize_t TAO_AV_Transport::send | ( | const iovec * | iov, | |
int | iovcnt, | |||
ACE_Time_Value * | s = 0 | |||
) | [pure virtual] |
Write the contents of iovcnt iovec's to the connection.
Implemented in TAO_AV_UDP_MCast_Transport, TAO_AV_TCP_Transport, and TAO_AV_UDP_Transport.
virtual ssize_t TAO_AV_Transport::recv | ( | char * | buf, | |
size_t | len, | |||
ACE_Time_Value * | s = 0 | |||
) | [pure virtual] |
Read len bytes from into buf.
Implemented in TAO_AV_UDP_MCast_Transport, TAO_AV_TCP_Transport, and TAO_AV_UDP_Transport.
virtual ssize_t TAO_AV_Transport::recv | ( | char * | buf, | |
size_t | len, | |||
int | flags, | |||
ACE_Time_Value * | s = 0 | |||
) | [pure virtual] |
Read len bytes from into buf using flags.
Implemented in TAO_AV_UDP_MCast_Transport, TAO_AV_TCP_Transport, and TAO_AV_UDP_Transport.
virtual ssize_t TAO_AV_Transport::recv | ( | iovec * | iov, | |
int | iovcnt, | |||
ACE_Time_Value * | s = 0 | |||
) | [pure virtual] |
Read received data into the iovec buffers.
Implemented in TAO_AV_UDP_MCast_Transport, TAO_AV_TCP_Transport, and TAO_AV_UDP_Transport.