TAO_AV  3.0.0
Public Member Functions | Protected Attributes | List of all members
TAO_AV_UDP_Transport Class Reference

A transport abstraction for udp sockets. Uses the ACE_SOCK_Dgram to send the data. More...

#include <UDP.h>

Inheritance diagram for TAO_AV_UDP_Transport:
Inheritance graph
[legend]
Collaboration diagram for TAO_AV_UDP_Transport:
Collaboration graph
[legend]

Public Member Functions

 TAO_AV_UDP_Transport (void)
 
 TAO_AV_UDP_Transport (TAO_AV_UDP_Flow_Handler *handler)
 
virtual ~TAO_AV_UDP_Transport (void)
 
virtual int open (ACE_Addr *addr)
 
virtual int close (void)
 
virtual int mtu (void)
 Write the complete Message_Block chain to the connection. More...
 
virtual ACE_Addrget_peer_addr (void)
 
virtual int set_remote_address (const ACE_INET_Addr &address)
 
virtual ssize_t send (const ACE_Message_Block *mblk, ACE_Time_Value *s=0)
 Write the complete Message_Block chain to the connection. More...
 
virtual ssize_t send (const char *buf, size_t len, ACE_Time_Value *s=0)
 Write the contents of the buffer of length len to the connection. More...
 
virtual ssize_t send (const iovec *iov, int iovcnt, ACE_Time_Value *s=0)
 Write the contents of iovcnt iovec's to the connection. More...
 
virtual ssize_t recv (char *buf, size_t len, ACE_Time_Value *s=0)
 Read len bytes from into buf. More...
 
virtual ssize_t recv (char *buf, size_t len, int flags, ACE_Time_Value *s=0)
 Read len bytes from into buf using flags. More...
 
virtual ssize_t recv (iovec *iov, int iovcnt, ACE_Time_Value *s=0)
 Read received data into the iovec buffers. More...
 
TAO_AV_UDP_Flow_Handlerhandler (void)
 
- Public Member Functions inherited from TAO_AV_Transport
 TAO_AV_Transport (void)
 
virtual ~TAO_AV_Transport (void)
 
virtual ACE_Addrget_local_addr (void)
 

Protected Attributes

TAO_AV_UDP_Flow_Handlerhandler_
 
ACE_Addraddr_
 
ACE_INET_Addr peer_addr_
 

Detailed Description

A transport abstraction for udp sockets. Uses the ACE_SOCK_Dgram to send the data.

Constructor & Destructor Documentation

◆ TAO_AV_UDP_Transport() [1/2]

TAO_AV_UDP_Transport::TAO_AV_UDP_Transport ( void  )

◆ TAO_AV_UDP_Transport() [2/2]

TAO_AV_UDP_Transport::TAO_AV_UDP_Transport ( TAO_AV_UDP_Flow_Handler handler)

◆ ~TAO_AV_UDP_Transport()

TAO_AV_UDP_Transport::~TAO_AV_UDP_Transport ( void  )
virtual

Member Function Documentation

◆ close()

int TAO_AV_UDP_Transport::close ( void  )
virtual

Implements TAO_AV_Transport.

◆ get_peer_addr()

ACE_Addr * TAO_AV_UDP_Transport::get_peer_addr ( void  )
virtual

Implements TAO_AV_Transport.

◆ handler()

TAO_AV_UDP_Flow_Handler* TAO_AV_UDP_Transport::handler ( void  )
inline

◆ mtu()

int TAO_AV_UDP_Transport::mtu ( void  )
virtual

Write the complete Message_Block chain to the connection.

Implements TAO_AV_Transport.

◆ open()

int TAO_AV_UDP_Transport::open ( ACE_Addr addr)
virtual

Implements TAO_AV_Transport.

◆ recv() [1/3]

ssize_t TAO_AV_UDP_Transport::recv ( char *  buf,
size_t  len,
ACE_Time_Value s = 0 
)
virtual

Read len bytes from into buf.

Implements TAO_AV_Transport.

◆ recv() [2/3]

ssize_t TAO_AV_UDP_Transport::recv ( char *  buf,
size_t  len,
int  flags,
ACE_Time_Value s = 0 
)
virtual

Read len bytes from into buf using flags.

Implements TAO_AV_Transport.

◆ recv() [3/3]

ssize_t TAO_AV_UDP_Transport::recv ( iovec *  iov,
int  iovcnt,
ACE_Time_Value s = 0 
)
virtual

Read received data into the iovec buffers.

Implements TAO_AV_Transport.

◆ send() [1/3]

ssize_t TAO_AV_UDP_Transport::send ( const ACE_Message_Block mblk,
ACE_Time_Value s = 0 
)
virtual

Write the complete Message_Block chain to the connection.

Implements TAO_AV_Transport.

◆ send() [2/3]

ssize_t TAO_AV_UDP_Transport::send ( const char *  buf,
size_t  len,
ACE_Time_Value s = 0 
)
virtual

Write the contents of the buffer of length len to the connection.

Implements TAO_AV_Transport.

◆ send() [3/3]

ssize_t TAO_AV_UDP_Transport::send ( const iovec *  iov,
int  iovcnt,
ACE_Time_Value s = 0 
)
virtual

Write the contents of iovcnt iovec's to the connection.

Implements TAO_AV_Transport.

◆ set_remote_address()

int TAO_AV_UDP_Transport::set_remote_address ( const ACE_INET_Addr address)
virtual

Member Data Documentation

◆ addr_

ACE_Addr* TAO_AV_UDP_Transport::addr_
protected

◆ handler_

TAO_AV_UDP_Flow_Handler* TAO_AV_UDP_Transport::handler_
protected

◆ peer_addr_

ACE_INET_Addr TAO_AV_UDP_Transport::peer_addr_
protected

The documentation for this class was generated from the following files: