diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-29 16:00:20 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-29 16:00:20 +0000 |
commit | 0b69670efacfeede96629c55d26120e3deacfaa0 (patch) | |
tree | 373883c13cb29edd04f93f41583aca866b69310a /ace/Strategies_T.h | |
parent | 9b0828ce05aa48c755009485c716e46a4c64a0ee (diff) | |
download | ATCD-0b69670efacfeede96629c55d26120e3deacfaa0.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Strategies_T.h')
-rw-r--r-- | ace/Strategies_T.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ace/Strategies_T.h b/ace/Strategies_T.h index 663f3898e06..93d3f187068 100644 --- a/ace/Strategies_T.h +++ b/ace/Strategies_T.h @@ -18,6 +18,7 @@ #define ACE_STRATEGIES_T_H #include "ace/Service_Config.h" +#include "ace/Reactor.h" #include "ace/Synch_Options.h" #include "ace/Hash_Map_Manager.h" @@ -370,11 +371,12 @@ class ACE_Accept_Strategy { public: // = Initialization and termination methods. - ACE_Accept_Strategy (void); + ACE_Accept_Strategy (ACE_Reactor *reactor = ACE_Reactor::instance ()); // Default constructor. ACE_Accept_Strategy (const ACE_PEER_ACCEPTOR_ADDR &local_addr, - int restart = 0); + int restart = 0, + ACE_Reactor *reactor = ACE_Reactor::instance ()); // Initialize the <peer_acceptor_> with <local_addr>. virtual int open (const ACE_PEER_ACCEPTOR_ADDR &local_addr, @@ -403,6 +405,9 @@ public: protected: ACE_PEER_ACCEPTOR acceptor_; // Factory that establishes connections passively. + + ACE_Reactor *reactor_; + // Pointer to the reactor used by the Acceptor. }; template <class SVC_HANDLER, ACE_PEER_CONNECTOR_1> |