summaryrefslogtreecommitdiff
path: root/TAO/tao/Wait_Strategy.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-06 02:38:55 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-06 02:38:55 +0000
commit4c8d0ae9021f9177bf6acb1806f34ffdf9d3b7c9 (patch)
tree1a911de10c30bb4884eca04cfe6e0e4d1845e86a /TAO/tao/Wait_Strategy.h
parent09dca63bd9db96587aea7b5220d04435b99a53e4 (diff)
downloadATCD-4c8d0ae9021f9177bf6acb1806f34ffdf9d3b7c9.tar.gz
ChangeLogTag:Mon Jul 5 21:20:18 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Wait_Strategy.h')
-rw-r--r--TAO/tao/Wait_Strategy.h25
1 files changed, 6 insertions, 19 deletions
diff --git a/TAO/tao/Wait_Strategy.h b/TAO/tao/Wait_Strategy.h
index 83641b195d8..b436903f605 100644
--- a/TAO/tao/Wait_Strategy.h
+++ b/TAO/tao/Wait_Strategy.h
@@ -47,7 +47,7 @@ public:
// variables because the reply may arrive *before* the user calls
// wait.
- virtual int wait (void) = 0;
+ virtual int wait (ACE_Time_Value *max_wait_time) = 0;
// Base class virtual method.
virtual int handle_input (void) = 0;
@@ -83,15 +83,11 @@ public:
virtual ~TAO_Wait_On_Reactor (void);
// Destructor.
- virtual int wait (void);
- // Do the event loop of the Reactor.
+ // = Documented in TAO_Wait_Strategy.
+ virtual int wait (ACE_Time_Value *max_wait_time);
virtual int handle_input (void);
- // Handle the input. Delegate this job to Transport object. Before
- // that suspend the handler in the Reactor.
-
virtual int register_handler (void);
- // Register the handler with the Reactor.
private:
int reply_received_;
@@ -121,11 +117,8 @@ public:
virtual int sending_request (TAO_ORB_Core *orb_core,
int two_way);
-
- virtual int wait (void);
-
+ virtual int wait (ACE_Time_Value *max_wait_time);
virtual int handle_input (void);
-
virtual int register_handler (void);
protected:
@@ -157,9 +150,8 @@ class TAO_Export TAO_Wait_On_Read : public TAO_Wait_Strategy
{
// = TITLE
//
- // Wait on receiving the reply.
- //
// = DESCRIPTION
+ // Simply block on read() to wait for the reply.
//
public:
@@ -169,14 +161,9 @@ public:
virtual ~TAO_Wait_On_Read (void);
// Destructor.
- virtual int wait (void);
- // Wait on the read operation.
-
+ virtual int wait (ACE_Time_Value *max_wait_time);
virtual int handle_input (void);
- // Handle the input. Delegate this job to Transport object.
-
virtual int register_handler (void);
- // No-op. Return 0.
};
#endif /* TAO_WAIT_STRATEGY_H */