TAO_AV  3.0.0
Public Types | Static Public Member Functions | List of all members
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>

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

◆ ConnectionType

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

Enumerator
CONNECTOR 
ACCEPTOR 

Member Function Documentation

◆ setup()

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: