TAO_AV  2.0.8
Public Types | Static Public Member Functions
TAO_AV_UDP_Connection_Setup Class Reference

This class is a helper for the TAO_AV_UDP_Acceptor and TAO_AV_UDP_Connector. It basically just reduces duplicate code. It takes the address of the peer in the connection, whether or not it is a multicast connection, and whether it is a connector or acceptor; and creates the local address and flow handler associated with the connection. More...

#include <UDP.h>

List of all members.

Public Types

enum  ConnectionType { CONNECTOR, ACCEPTOR }
 Indicates whether this setup is for a Connector or an Acceptor. More...

Static Public Member Functions

static int setup (TAO_AV_Flow_Handler *&flow_handler, ACE_INET_Addr *inet_addr, ACE_INET_Addr *&local_addr, int is_multicast, ConnectionType ct)

Detailed Description

This class is a helper for the TAO_AV_UDP_Acceptor and TAO_AV_UDP_Connector. It basically just reduces duplicate code. It takes the address of the peer in the connection, whether or not it is a multicast connection, and whether it is a connector or acceptor; and creates the local address and flow handler associated with the connection.


Member Enumeration Documentation

Indicates whether this setup is for a Connector or an Acceptor.

Enumerator:
CONNECTOR 
ACCEPTOR 

Member Function Documentation

int TAO_AV_UDP_Connection_Setup::setup ( TAO_AV_Flow_Handler *&  flow_handler,
ACE_INET_Addr inet_addr,
ACE_INET_Addr *&  local_addr,
int  is_multicast,
ConnectionType  ct 
) [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines