Public Types |
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 Methods |
| TAO_FlowSpec_Entry (void) |
| default constructor. More...
|
| TAO_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) |
| constructor to construct an entry from the arguments. More...
|
| TAO_FlowSpec_Entry (const char *flowname, const char *direction, const char *format_name, const char *flow_protocol, const char *address) |
virtual int | parse (const char *flowSpec_entry)=0 |
| construct the entry from a string specified by the flowSpec grammar. More...
|
virtual | ~TAO_FlowSpec_Entry (void) |
| virtual destructor. More...
|
int | direction (void) |
| accessor to the direction. More...
|
virtual Role | role (void)=0 |
void | role (Role role) |
const char * | direction_str (void) const |
| accessor to string version of direction . More...
|
const char * | flow_protocol_str (void) const |
| accessor to the flow protocol string. More...
|
void | flow_protocol_str (const char *flow_protocol_str) |
| set the flow protocol string. More...
|
ACE_Addr * | address (void) |
| accessor to address of the carrier protocol. More...
|
ACE_Addr * | control_address (void) |
void | address (ACE_Addr *address) |
void | control_address (ACE_Addr *address) |
const char * | address_str (void) const |
| Address in string format i. hostname:port. More...
|
TAO_AV_Core::Protocol | carrier_protocol (void) |
| accessor to carrier protocol i.e TCP,UDP,RTP/UDP. More...
|
const char * | carrier_protocol_str (void) const |
| accessor to string version of carrier protocol. More...
|
const char * | format (void) const |
| accessor to format to be used for this flow. More...
|
const char * | flowname (void) const |
| accessor to name of this flow. More...
|
virtual const char * | entry_to_string (void)=0 |
| converts the entry to a string. More...
|
int | set_peer_addr (ACE_Addr *peer_addr) |
ACE_Addr * | get_peer_addr (void) |
int | set_peer_control_addr (ACE_Addr *peer_control_addr) |
ACE_Addr * | get_peer_control_addr (void) |
int | set_local_addr (ACE_Addr *local_addr) |
ACE_Addr * | get_local_addr (void) |
char * | get_local_addr_str (void) |
int | set_local_control_addr (ACE_Addr *local_control_addr) |
ACE_Addr * | get_local_control_addr (void) |
char * | get_local_control_addr_str (void) |
TAO_AV_Transport * | transport (void) |
void | transport (TAO_AV_Transport *transport) |
TAO_AV_Transport * | control_transport (void) |
void | control_transport (TAO_AV_Transport *control_transport) |
TAO_AV_Flow_Handler * | handler (void) |
void | handler (TAO_AV_Flow_Handler *handler) |
TAO_AV_Flow_Handler * | control_handler (void) |
void | control_handler (TAO_AV_Flow_Handler *control_handler) |
TAO_AV_Protocol_Object * | protocol_object (void) |
void | protocol_object (TAO_AV_Protocol_Object *object) |
TAO_AV_Protocol_Object * | control_protocol_object (void) |
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. More...
|
int | is_multicast (void) |
| returns true for a multicast address. More...
|
Protected Methods |
int | parse_flow_protocol_string (const char *flow_options_string) |
| parses the flow protocol string with tokens separated by :. More...
|
int | set_direction (const char *direction_string) |
| sets the direction flag. More...
|
int | set_protocol (void) |
| sets the protocol_ enum from the carrier_protocol_ string. More...
|
Protected Attributes |
ACE_Addr * | address_ |
| Addr information for the carrier protocol. More...
|
int | clean_up_address_ |
ACE_Addr * | control_address_ |
int | clean_up_control_address_ |
ACE_CString | address_str_ |
| Addr in string format i.e hostname:port. More...
|
ACE_CString | format_ |
| format string. More...
|
Direction | direction_ |
| Direction of this flow. More...
|
ACE_CString | direction_str_ |
| string representation of the direction. More...
|
ACE_CString | flowname_ |
| name of this flow. More...
|
TAO_AV_Core::Protocol | protocol_ |
| name of the protocol used. More...
|
ACE_CString | carrier_protocol_ |
| carrier protocol string. More...
|
ACE_CString | flow_protocol_ |
| flow protocol string. More...
|
int | use_flow_protocol_ |
ACE_CString | entry_ |
| The flowspec entry;. More...
|
int | is_multicast_ |
ACE_Addr * | peer_addr_ |
ACE_Addr * | peer_control_addr_ |
ACE_Addr * | local_addr_ |
ACE_Addr * | local_control_addr_ |
TAO_AV_Transport * | transport_ |
TAO_AV_Transport * | control_transport_ |
TAO_AV_Flow_Handler * | handler_ |
TAO_AV_Flow_Handler * | control_handler_ |
TAO_AV_Protocol_Object * | protocol_object_ |
TAO_AV_Protocol_Object * | control_protocol_object_ |
Role | role_ |