#include <TCP.h>
Inheritance diagram for TAO_AV_TCP_Base_Acceptor:


Public Member Functions | |
| virtual int | acceptor_open (TAO_AV_TCP_Acceptor *acceptor, ACE_Reactor *reactor, const ACE_INET_Addr &local_addr, TAO_FlowSpec_Entry *entry) |
| virtual int | make_svc_handler (TAO_AV_TCP_Flow_Handler *&handler) |
Protected Attributes | |
| TAO_AV_TCP_Acceptor * | acceptor_ |
| ACE_Reactor * | reactor_ |
| TAO_FlowSpec_Entry * | entry_ |
|
||||||||||||||||||||
|
Definition at line 444 of file TCP.cpp. References ACE_ERROR_RETURN, and LM_ERROR. Referenced by TAO_AV_TCP_Acceptor::open(), and TAO_AV_TCP_Acceptor::open_default().
00448 {
00449 this->acceptor_ = acceptor;
00450 this->reactor_ = reactor;
00451 this->entry_ = entry;
00452
00453 int const result =
00454 ACE_Acceptor <TAO_AV_TCP_Flow_Handler,ACE_SOCK_ACCEPTOR>::open (local_addr,reactor);
00455 if (result < 0)
00456 ACE_ERROR_RETURN ((LM_ERROR,"TAO_AV_TCP_Base_Connector::open failed\n"),-1);
00457 return 0;
00458 }
|
|
|
Reimplemented from ACE_Acceptor< TAO_AV_TCP_Flow_Handler, ACE_SOCK_ACCEPTOR >. Definition at line 461 of file TCP.cpp. References TAO_FlowSpec_Entry::handler(), TAO_AV_TCP_Acceptor::make_svc_handler(), and ACE_Event_Handler::reactor().
00462 {
00463 int const result = this->acceptor_->make_svc_handler (handler);
00464 if (result < 0)
00465 return result;
00466 handler->reactor (this->reactor_);
00467 this->entry_->handler (handler);
00468 return 0;
00469 }
|
|
|
|
|
|
|
|
|
Reimplemented from ACE_Event_Handler. |
1.3.6