#include <AVStreams_i.h>
Inheritance diagram for TAO_FlowConsumer:
Public Member Functions | |
TAO_FlowConsumer (void) | |
default constructor. | |
TAO_FlowConsumer (const char *flowname, AVStreams::protocolSpec protocols, const char *format) | |
virtual void | stop (void) |
stop this flow, to be overridden by the application. | |
virtual void | start (void) |
start this flow, to be overridden by the application. | |
virtual char * | go_to_listen (AVStreams::QoS &the_qos, CORBA::Boolean is_mcast, AVStreams::FlowEndPoint_ptr peer, char *&flowProtocol) |
virtual CORBA::Boolean | connect_to_peer (AVStreams::QoS &the_qos, const char *address, const char *use_flow_protocol) |
Definition at line 1085 of file AVStreams_i.h.
TAO_FlowConsumer::TAO_FlowConsumer | ( | void | ) |
TAO_FlowConsumer::TAO_FlowConsumer | ( | const char * | flowname, | |
AVStreams::protocolSpec | protocols, | |||
const char * | format | |||
) |
Definition at line 4422 of file AVStreams_i.cpp.
References TAO_FlowEndPoint::open().
04425 { 04426 this->open (flowname, protocols, format); 04427 }
CORBA::Boolean TAO_FlowConsumer::connect_to_peer | ( | AVStreams::QoS & | the_qos, | |
const char * | address, | |||
const char * | use_flow_protocol | |||
) | [virtual] |
This should be implemented in both the FlowProducer and consumer and hence is pure virtual since we need to know the role of the flowendpoint to create appropriate protocol objects. eg. in SFP to create Producer Object/ Consumer Object.
Implements TAO_FlowEndPoint.
Definition at line 4464 of file AVStreams_i.cpp.
References TAO_FlowEndPoint::connect_to_peer_i(), and TAO_FlowSpec_Entry::TAO_AV_CONSUMER.
04467 { 04468 return this->connect_to_peer_i (TAO_FlowSpec_Entry::TAO_AV_CONSUMER, 04469 the_qos, 04470 address, 04471 use_flow_protocol); 04472 }
char * TAO_FlowConsumer::go_to_listen | ( | AVStreams::QoS & | the_qos, | |
CORBA::Boolean | is_mcast, | |||
AVStreams::FlowEndPoint_ptr | peer, | |||
char *& | flowProtocol | |||
) | [virtual] |
This should be implemented in both the FlowProducer and consumer and hence is pure virtual since we need to know the role of the flowendpoint to create appropriate protocol objects. eg. in SFP to create Producer Object/ Consumer Object.
Implements TAO_FlowEndPoint.
Definition at line 4451 of file AVStreams_i.cpp.
References TAO_FlowEndPoint::go_to_listen_i(), and TAO_FlowSpec_Entry::TAO_AV_CONSUMER.
04455 { 04456 return this->go_to_listen_i (TAO_FlowSpec_Entry::TAO_AV_CONSUMER, 04457 the_qos, 04458 is_mcast, 04459 peer_fep, 04460 flowProtocol); 04461 }
void TAO_FlowConsumer::start | ( | void | ) | [virtual] |
start this flow, to be overridden by the application.
Definition at line 4440 of file AVStreams_i.cpp.
References ACE_Unbounded_Set_Ex< T, C >::end(), TAO_FlowEndPoint::flow_spec_set_, and TAO_FlowSpec_Entry::TAO_AV_CONSUMER.
04441 { 04442 TAO_AV_FlowSpecSetItor end = this->flow_spec_set_.end (); 04443 for (TAO_AV_FlowSpecSetItor begin = this->flow_spec_set_.begin (); 04444 begin != end; ++begin) 04445 { 04446 (*begin)->handler ()->start (TAO_FlowSpec_Entry::TAO_AV_CONSUMER); 04447 } 04448 }
void TAO_FlowConsumer::stop | ( | void | ) | [virtual] |
stop this flow, to be overridden by the application.
Definition at line 4431 of file AVStreams_i.cpp.
References ACE_Unbounded_Set_Ex< T, C >::end(), TAO_FlowEndPoint::flow_spec_set_, and TAO_FlowSpec_Entry::TAO_AV_CONSUMER.
04432 { 04433 TAO_AV_FlowSpecSetItor end = this->flow_spec_set_.end (); 04434 for (TAO_AV_FlowSpecSetItor begin = this->flow_spec_set_.begin (); 04435 begin != end; ++begin) 04436 (*begin)->handler ()->stop (TAO_FlowSpec_Entry::TAO_AV_CONSUMER); 04437 }