#include <AVStreams_i.h>
Inheritance diagram for TAO_Base_StreamEndPoint:
Public Member Functions | |
TAO_Base_StreamEndPoint (void) | |
virtual | ~TAO_Base_StreamEndPoint (void) |
virtual int | handle_open (void) |
called when streamendpoint is instantiated | |
virtual int | handle_close (void) |
called when streamendpoint is being destructed | |
virtual int | handle_stop (const AVStreams::flowSpec &the_spec) |
Application needs to define this. | |
virtual int | handle_start (const AVStreams::flowSpec &the_spec) |
Application needs to define this. | |
virtual int | handle_destroy (const AVStreams::flowSpec &the_spec) |
Application needs to define this. | |
virtual CORBA::Boolean | handle_preconnect (AVStreams::flowSpec &the_spec) |
Application needs to define this. | |
virtual CORBA::Boolean | handle_postconnect (AVStreams::flowSpec &the_spec) |
Application needs to define this. | |
virtual CORBA::Boolean | handle_connection_requested (AVStreams::flowSpec &the_spec) |
Application needs to define this. | |
virtual int | get_callback (const char *flowname, TAO_AV_Callback *&callback) |
virtual int | get_control_callback (const char *flowname, TAO_AV_Callback *&callback) |
virtual int | set_protocol_object (const char *flowname, TAO_AV_Protocol_Object *object) |
virtual void | set_flow_handler (const char *flowname, TAO_AV_Flow_Handler *handler) |
virtual void | set_control_flow_handler (const char *flowname, TAO_AV_Flow_Handler *handler) |
TAO_AV_QoS & | qos (void) |
void | protocol_object_set (void) |
int | is_protocol_object_set (void) |
Protected Attributes | |
TAO_AV_QoS | qos_ |
Flow_Handler_Map | flow_handler_map_ |
Flow_Handler_Map | control_flow_handler_map_ |
int | protocol_object_set_ |
Definition at line 384 of file AVStreams_i.h.
|
Definition at line 1397 of file AVStreams_i.cpp.
01398 : protocol_object_set_ (0) 01399 { 01400 } |
|
Definition at line 1402 of file AVStreams_i.cpp.
01403 { 01404 } |
|
Definition at line 1483 of file AVStreams_i.cpp. Referenced by TAO_AV_UDP_Flow_Factory::make_protocol_object(), TAO_AV_TCP_Flow_Factory::make_protocol_object(), TAO_AV_SFP_Factory::make_protocol_object(), and TAO_AV_RTP_Flow_Factory::make_protocol_object().
01485 {
01486 return -1;
01487 }
|
|
Definition at line 1490 of file AVStreams_i.cpp.
01492 {
01493 return -1;
01494 }
|
|
called when streamendpoint is being destructed
Definition at line 1407 of file AVStreams_i.cpp.
01408 { 01409 // This method should not be defined, but EGCS complains endlessly 01410 // about it. 01411 return -1; 01412 } |
|
Application needs to define this.
Definition at line 1457 of file AVStreams_i.cpp. References AVStreams::flowSpec. Referenced by TAO_StreamEndPoint::request_connection().
01458 {
01459 return 1;
01460 }
|
|
Application needs to define this.
Definition at line 1433 of file AVStreams_i.cpp. References AVStreams::flowSpec.
01434 {
01435 return 0;
01436 }
|
|
called when streamendpoint is instantiated
Definition at line 1415 of file AVStreams_i.cpp.
01416 {
01417 return 0;
01418 }
|
|
Application needs to define this.
Definition at line 1447 of file AVStreams_i.cpp. References AVStreams::flowSpec, ACE_Singleton< TYPE, ACE_LOCK >::instance(), and is_protocol_object_set(). Referenced by TAO_StreamEndPoint::connect().
01448 { 01449 01450 while (!this->is_protocol_object_set ()) 01451 TAO_AV_CORE::instance ()->orb ()->perform_work (); 01452 return 1; 01453 } |
|
Application needs to define this.
Definition at line 1440 of file AVStreams_i.cpp. References AVStreams::flowSpec. Referenced by TAO_StreamEndPoint::connect().
01441 {
01442 return 1;
01443 }
|
|
Application needs to define this.
Definition at line 1427 of file AVStreams_i.cpp. References AVStreams::flowSpec. Referenced by TAO_StreamEndPoint::start().
01428 {
01429 return 0;
01430 }
|
|
Application needs to define this.
Definition at line 1421 of file AVStreams_i.cpp. References AVStreams::flowSpec. Referenced by TAO_StreamEndPoint::stop().
01422 {
01423 return 0;
01424 }
|
|
Definition at line 1477 of file AVStreams_i.cpp. References protocol_object_set_. Referenced by handle_postconnect().
01478 { 01479 return this->protocol_object_set_; 01480 } |
|
Definition at line 1470 of file AVStreams_i.cpp. References protocol_object_set_. Referenced by TAO_AV_UDP_Flow_Factory::make_protocol_object(), TAO_AV_TCP_Flow_Factory::make_protocol_object(), and TAO_AV_RTP_Flow_Factory::make_protocol_object().
01471 { 01472 this->protocol_object_set_ = 1; 01473 } |
|
Definition at line 9 of file AVStreams_i.inl. Referenced by TAO_StreamEndPoint::change_qos(), TAO_StreamEndPoint::connect(), TAO_StreamEndPoint_B::multiconnect(), TAO_StreamEndPoint_A::multiconnect(), and TAO_StreamEndPoint::request_connection().
00010 { 00011 return this->qos_; 00012 } |
|
Definition at line 1511 of file AVStreams_i.cpp. References ACE_CString, ACE_ERROR, ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >::bind(), control_flow_handler_map_, and LM_ERROR. Referenced by TAO_AV_UDP_Connector::connect(), and TAO_AV_UDP_Acceptor::open_i().
01513 { 01514 ACE_CString flow_name_key (flowname); 01515 if (this->control_flow_handler_map_.bind (flow_name_key, handler) != 0) 01516 ACE_ERROR ((LM_ERROR, 01517 "Error in storing control flow handler\n")); 01518 } |
|
Reimplemented in TAO_FlowEndPoint. Definition at line 1497 of file AVStreams_i.cpp. References ACE_CString, ACE_DEBUG, ACE_ERROR, ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >::bind(), flow_handler_map_, LM_DEBUG, LM_ERROR, and TAO_debug_level. Referenced by TAO_AV_UDP_Connector::connect(), TAO_AV_TCP_Acceptor::make_svc_handler(), TAO_AV_TCP_Connector::make_svc_handler(), and TAO_AV_UDP_Acceptor::open_i().
01499 { 01500 if(TAO_debug_level > 1) 01501 { 01502 ACE_DEBUG ((LM_DEBUG, "(%N,%l) TAO_Base_StreamEndPoint::set_flow_handler(), flowname: %s\n", flowname)); 01503 } 01504 ACE_CString flow_name_key (flowname); 01505 if (this->flow_handler_map_.bind (flow_name_key, handler) != 0) 01506 ACE_ERROR ((LM_ERROR, 01507 "Error in storing flow handler\n")); 01508 } |
|
Reimplemented in TAO_FlowEndPoint. Definition at line 1463 of file AVStreams_i.cpp. Referenced by TAO_AV_UDP_Flow_Factory::make_protocol_object(), TAO_AV_TCP_Flow_Factory::make_protocol_object(), TAO_AV_SFP_Factory::make_protocol_object(), and TAO_AV_RTP_Flow_Factory::make_protocol_object().
01465 {
01466 return -1;
01467 }
|
|
Definition at line 441 of file AVStreams_i.h. Referenced by set_control_flow_handler(). |
|
Definition at line 440 of file AVStreams_i.h. Referenced by set_flow_handler(). |
|
Definition at line 442 of file AVStreams_i.h. Referenced by is_protocol_object_set(), and protocol_object_set(). |
|
Definition at line 439 of file AVStreams_i.h. |