summaryrefslogtreecommitdiff
path: root/TAO/tao/Wait_Strategy.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-03 18:25:00 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-03 18:25:00 +0000
commit660b38150b3c7d51abf92873a0070992fe9c6772 (patch)
tree195f5aca59af7bb0313deec05f7228de6c2d02cd /TAO/tao/Wait_Strategy.h
parente0b5ebe2065ccf52b886bbf8faa14ebab029b76e (diff)
downloadATCD-660b38150b3c7d51abf92873a0070992fe9c6772.tar.gz
ChangeLogTag:Thu Jun 3 13:20:09 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, 8 insertions, 17 deletions
diff --git a/TAO/tao/Wait_Strategy.h b/TAO/tao/Wait_Strategy.h
index ffce521c48f..ffe71f1cb18 100644
--- a/TAO/tao/Wait_Strategy.h
+++ b/TAO/tao/Wait_Strategy.h
@@ -48,10 +48,11 @@ public:
virtual ~TAO_Wait_Strategy (void);
// Destructor.
- virtual int send_request (TAO_ORB_Core *orb_core,
- TAO_OutputCDR &stream,
- int two_way);
- // Does the send.
+ virtual int sending_request (TAO_ORB_Core *orb_core,
+ int two_way);
+ // The user is going to send a request, prepare any internal
+ // variables because the reply may arrive *before* the user calls
+ // wait.
virtual int wait (void) = 0;
// Base class virtual method.
@@ -129,23 +130,13 @@ public:
virtual ~TAO_Wait_On_Leader_Follower (void);
// Destructor.
- virtual int send_request (TAO_ORB_Core *orb_core,
- TAO_OutputCDR &stream,
- int two_way);
- // Send the request. Set some flags in case of two way call.
-
+ // = Documented in TAO_Wait_Strategy
+ virtual int sending_request (TAO_ORB_Core *orb_core,
+ int two_way);
virtual int wait (void);
- // Wait according to the L-F model.
-
virtual int handle_input (void);
- // Handle the input. Delegate this job to Transport object. Before
- // that, suspend the handler in the Reactor.
-
virtual int handle_close (void);
- // The connection was closed, take appropiate action...
-
virtual int register_handler (void);
- // Register the handler with the Reactor.
protected:
ACE_SYNCH_CONDITION* cond_response_available (void);