diff options
author | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-02-19 22:45:32 +0000 |
---|---|---|
committer | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-02-19 22:45:32 +0000 |
commit | 110ea7bc7cece9b136fc3770b73e5c78e86c3dd7 (patch) | |
tree | f636ed823faf4b3ca9edf505df614ff14ef321c6 | |
parent | 29ddf43e3dd69103edd1aa537bf7b64f68cc54dc (diff) | |
download | ATCD-110ea7bc7cece9b136fc3770b73e5c78e86c3dd7.tar.gz |
Mon Feb 19 16:38:08 2001 Krishnakumar B <kitty@cs.wustl.edu>
* ace/Asynch_Acceptor.{h,cpp}:
Added method void handle (ACE_HANDLE) and made it call the base
class's handle(ACE_HANDLE) method to remove warning about
partial overloading. Fix suggested by Irfan.
-rw-r--r-- | ace/Asynch_Acceptor.cpp | 6 | ||||
-rw-r--r-- | ace/Asynch_Acceptor.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ace/Asynch_Acceptor.cpp b/ace/Asynch_Acceptor.cpp index 2321302c331..74082ffe811 100644 --- a/ace/Asynch_Acceptor.cpp +++ b/ace/Asynch_Acceptor.cpp @@ -408,6 +408,12 @@ ACE_Asynch_Acceptor<HANDLER>::handle (void) const return this->listen_handle_; } +template <class HANDLER> void +ACE_Asynch_Acceptor<HANDLER>::handle (ACE_HANDLE h) +{ + ACE_Handler::handle (h); +} + template <class HANDLER> HANDLER * ACE_Asynch_Acceptor<HANDLER>::make_handler (void) { diff --git a/ace/Asynch_Acceptor.h b/ace/Asynch_Acceptor.h index cd8b286b6c3..adc5e34d892 100644 --- a/ace/Asynch_Acceptor.h +++ b/ace/Asynch_Acceptor.h @@ -150,6 +150,8 @@ protected: /// Return the listen handle. ACE_HANDLE handle (void) const; + /// Set the listen handle. + void handle (ACE_HANDLE h); /// This parses the address from read buffer. void parse_address (const ACE_Asynch_Accept::Result &result, |