OpenDDS::DCPS::UdpSendStrategy Class Reference

#include <UdpSendStrategy.h>

Inheritance diagram for OpenDDS::DCPS::UdpSendStrategy:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::UdpSendStrategy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UdpSendStrategy (UdpDataLink *link)
virtual void stop_i ()
 Let the subclass stop.

Protected Member Functions

virtual ssize_t send_bytes_i (const iovec iov[], int n)
virtual size_t max_message_size () const

Private Attributes

UdpDataLinklink_

Constructor & Destructor Documentation

OpenDDS::DCPS::UdpSendStrategy::UdpSendStrategy ( UdpDataLink link  )  [explicit]


Member Function Documentation

virtual size_t OpenDDS::DCPS::UdpSendStrategy::max_message_size (  )  const [inline, protected, virtual]

The maximum size of a message allowed by the this TransportImpl, or 0 if there is no such limit. This is expected to be a constant, for example UDP/IPv4 can send messages of up to 65466 bytes. The transport framework will use the returned value (if > 0) to fragment larger messages. This fragmentation and reassembly will be transparent to the user.

Reimplemented from OpenDDS::DCPS::TransportSendStrategy.

ssize_t OpenDDS::DCPS::UdpSendStrategy::send_bytes_i ( const iovec  iov[],
int  n 
) [protected, virtual]

Implements OpenDDS::DCPS::TransportSendStrategy.

void OpenDDS::DCPS::UdpSendStrategy::stop_i (  )  [virtual]

Let the subclass stop.

Implements OpenDDS::DCPS::TransportSendStrategy.


Member Data Documentation

UdpDataLink* OpenDDS::DCPS::UdpSendStrategy::link_ [private]


The documentation for this class was generated from the following files:
Generated on Wed Mar 28 13:22:20 2012 for OpenDDS by  doxygen 1.4.7