TAO_AV 4.0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
TAO_Reverse_FlowSpec_Entry Class Reference

#include <FlowSpec_Entry.h>

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

Public Types

enum  Position {
  TAO_AV_FLOWNAME = 0 , TAO_AV_ADDRESS = 1 , TAO_AV_FLOW_PROTOCOL = 2 , TAO_AV_DIRECTION = 3 ,
  TAO_AV_FORMAT = 4
}
 
- Public Types inherited from TAO_FlowSpec_Entry
enum  Direction { TAO_AV_INVALID = -1 , TAO_AV_DIR_IN = 0 , TAO_AV_DIR_OUT = 1 }
 
enum  Role { TAO_AV_INVALID_ROLE = -1 , TAO_AV_PRODUCER = 0 , TAO_AV_CONSUMER = 1 }
 

Public Member Functions

 TAO_Reverse_FlowSpec_Entry ()
 
 TAO_Reverse_FlowSpec_Entry (const char *flowname, const char *direction, const char *format_name, const char *flow_protocol, const char *carrier_protocol, ACE_Addr *address, ACE_Addr *control_address=0)
 
 TAO_Reverse_FlowSpec_Entry (const char *flowname, const char *direction, const char *format_name, const char *flow_protocol, const char *address)
 
virtual ~TAO_Reverse_FlowSpec_Entry ()
 
virtual const char * entry_to_string ()
 converts the entry to a string.
 
virtual Role role ()
 
virtual int parse (const char *flowSpec_entry)
 construct the entry from a string specified by the flowSpec grammar.
 
- Public Member Functions inherited from TAO_FlowSpec_Entry
 TAO_FlowSpec_Entry ()
 default constructor.
 
 TAO_FlowSpec_Entry (const char *flowname, const char *direction, const char *format_name, const char *flow_protocol, const char *carrier_protocol, ACE_Addr *fwd_address, ACE_Addr *control_address=0)
 constructor to construct an entry from the arguments.
 
 TAO_FlowSpec_Entry (const char *flowname, const char *direction, const char *format_name, const char *flow_protocol, const char *fwd_address)
 
virtual ~TAO_FlowSpec_Entry ()
 virtual destructor.
 
int direction ()
 accessor to the direction.
 
void role (Role role)
 
const char * direction_str () const
 accessor to string version of direction .
 
const char * flow_protocol_str () const
 accessor to the flow protocol string.
 
void flow_protocol_str (const char *flow_protocol_str)
 set the flow protocol string.
 
ACE_Addraddress ()
 accessor to address of the carrier protocol.
 
ACE_Addrcontrol_address ()
 
void address (ACE_Addr *address, bool cleanup=false)
 
void control_address (ACE_Addr *address)
 
const char * address_str () const
 Address in string format i. hostname:port.
 
TAO_AV_Core::Protocol carrier_protocol ()
 accessor to carrier protocol i.e TCP,UDP,RTP/UDP.
 
const char * carrier_protocol_str () const
 accessor to string version of carrier protocol.
 
const char * format () const
 accessor to format to be used for this flow.
 
const char * flowname () const
 accessor to name of this flow.
 
int set_peer_addr (ACE_Addr *peer_addr)
 
ACE_Addrget_peer_addr ()
 
int set_peer_control_addr (ACE_Addr *peer_control_addr)
 
ACE_Addrget_peer_control_addr ()
 
int set_local_sec_addr (char **local_sec_addr, int size)
 
char ** get_local_sec_addr ()
 
int num_local_sec_addrs ()
 
int set_peer_sec_addr (char **peer_sec_addr, int size)
 
char ** get_peer_sec_addr ()
 
int num_peer_sec_addrs ()
 
int set_local_addr (ACE_Addr *local_addr)
 
ACE_Addrget_local_addr ()
 
char * get_local_addr_str ()
 
int set_local_control_addr (ACE_Addr *local_control_addr)
 
ACE_Addrget_local_control_addr ()
 
char * get_local_control_addr_str ()
 
TAO_AV_Transporttransport ()
 
void transport (TAO_AV_Transport *transport)
 
TAO_AV_Transportcontrol_transport ()
 
void control_transport (TAO_AV_Transport *control_transport)
 
TAO_AV_Flow_Handlerhandler ()
 
void handler (TAO_AV_Flow_Handler *handler)
 
TAO_AV_Flow_Handlercontrol_handler ()
 
void control_handler (TAO_AV_Flow_Handler *control_handler)
 
TAO_AV_Protocol_Objectprotocol_object ()
 
void protocol_object (TAO_AV_Protocol_Object *object)
 
TAO_AV_Protocol_Objectcontrol_protocol_object ()
 
void control_protocol_object (TAO_AV_Protocol_Object *object)
 
int parse_address (const char *format_string, TAO_AV_Core::Flow_Component flow_component)
 sets the address for this flow.
 
int is_multicast ()
 returns true for a multicast address.
 

Additional Inherited Members

- Protected Member Functions inherited from TAO_FlowSpec_Entry
int parse_flow_protocol_string (const char *flow_options_string)
 parses the flow protocol string with tokens separated by :
 
int set_direction (const char *direction_string)
 sets the direction flag.
 
int set_protocol ()
 sets the protocol_ enum from the carrier_protocol_ string.
 
- Protected Attributes inherited from TAO_FlowSpec_Entry
ACE_Addraddress_
 Addr information for the carrier protocol.
 
int clean_up_address_
 
ACE_Addrcontrol_address_
 
int clean_up_control_address_
 
ACE_CString address_str_
 Fwd Addr in string format i.e hostname:port.
 
ACE_CString peer_address_str_
 Peer Addr in string format i.e hostname:port.
 
ACE_CString format_
 format string.
 
Direction direction_
 Direction of this flow.
 
ACE_CString direction_str_
 string representation of the direction.
 
ACE_CString flowname_
 name of this flow.
 
TAO_AV_Core::Protocol protocol_
 name of the protocol used.
 
ACE_CString carrier_protocol_
 carrier protocol string.
 
ACE_CString flow_protocol_
 flow protocol string.
 
int use_flow_protocol_
 
ACE_CString entry_
 The flowspec entry;.
 
int is_multicast_
 
bool delete_peer_addr_
 
ACE_Addrpeer_addr_
 
char ** local_sec_addr_
 
int num_local_sec_addrs_
 
char ** peer_sec_addr_
 
int num_peer_sec_addrs_
 
ACE_Addrpeer_control_addr_
 
ACE_Addrlocal_addr_
 
ACE_Addrlocal_control_addr_
 
TAO_AV_Transporttransport_
 
TAO_AV_Transportcontrol_transport_
 
TAO_AV_Flow_Handlerhandler_
 
TAO_AV_Flow_Handlercontrol_handler_
 
TAO_AV_Protocol_Objectprotocol_object_
 
TAO_AV_Protocol_Objectcontrol_protocol_object_
 
Role role_
 

Member Enumeration Documentation

◆ Position

Enumerator
TAO_AV_FLOWNAME 
TAO_AV_ADDRESS 
TAO_AV_FLOW_PROTOCOL 
TAO_AV_DIRECTION 
TAO_AV_FORMAT 

Constructor & Destructor Documentation

◆ TAO_Reverse_FlowSpec_Entry() [1/3]

TAO_Reverse_FlowSpec_Entry::TAO_Reverse_FlowSpec_Entry ( )

◆ TAO_Reverse_FlowSpec_Entry() [2/3]

TAO_Reverse_FlowSpec_Entry::TAO_Reverse_FlowSpec_Entry ( const char * flowname,
const char * direction,
const char * format_name,
const char * flow_protocol,
const char * carrier_protocol,
ACE_Addr * address,
ACE_Addr * control_address = 0 )

◆ TAO_Reverse_FlowSpec_Entry() [3/3]

TAO_Reverse_FlowSpec_Entry::TAO_Reverse_FlowSpec_Entry ( const char * flowname,
const char * direction,
const char * format_name,
const char * flow_protocol,
const char * address )

◆ ~TAO_Reverse_FlowSpec_Entry()

TAO_Reverse_FlowSpec_Entry::~TAO_Reverse_FlowSpec_Entry ( )
virtual

Member Function Documentation

◆ entry_to_string()

const char * TAO_Reverse_FlowSpec_Entry::entry_to_string ( )
virtual

converts the entry to a string.

Implements TAO_FlowSpec_Entry.

◆ parse()

int TAO_Reverse_FlowSpec_Entry::parse ( const char * flowSpec_entry)
virtual

construct the entry from a string specified by the flowSpec grammar.

Implements TAO_FlowSpec_Entry.

◆ role()

TAO_FlowSpec_Entry::Role TAO_Reverse_FlowSpec_Entry::role ( )
virtual

Implements TAO_FlowSpec_Entry.


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