diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2002-04-26 05:45:59 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2002-04-26 05:45:59 +0000 |
commit | 2cf9c12b8ae1ef1699e3aaed1844bd312d54e32e (patch) | |
tree | 826108dddc89a13401f8236dd4608a7d480ec7c6 /examples/Reactor/WFMO_Reactor | |
parent | 73f520afd2767cf847e442436b6964a6f710cd6e (diff) | |
download | ATCD-2cf9c12b8ae1ef1699e3aaed1844bd312d54e32e.tar.gz |
ChangeLogTag: Fri Apr 26 07:41:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'examples/Reactor/WFMO_Reactor')
-rw-r--r-- | examples/Reactor/WFMO_Reactor/Talker.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/Reactor/WFMO_Reactor/Talker.cpp b/examples/Reactor/WFMO_Reactor/Talker.cpp index 06840cf025c..f6bb6c900e2 100644 --- a/examples/Reactor/WFMO_Reactor/Talker.cpp +++ b/examples/Reactor/WFMO_Reactor/Talker.cpp @@ -178,6 +178,9 @@ public: // called by the ACE_Asynch_* classes when an ACE_INVALID_HANDLE is // passed to <open>. + void handle (ACE_HANDLE); + // Set the ACE_HANDLE value for this Handler. + virtual int handle_close (ACE_HANDLE, ACE_Reactor_Mask); // We've been removed from the Reactor. @@ -380,6 +383,12 @@ Peer_Handler::handle (void) const return this->stream_.get_handle (); } +void +Peer_Handler::handle (ACE_HANDLE handle) +{ + return this->stream_.set_handle (handle); +} + // We've been removed from the Reactor. int Peer_Handler::handle_close (ACE_HANDLE, ACE_Reactor_Mask) |