diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-10 01:56:25 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-10 01:56:25 +0000 |
commit | fd35f5277ea5aa0e87be38e7bc73a45bc7b00fdc (patch) | |
tree | c70e78fa11fc23fdc4d25e37a9d7cc06d9bfb431 /TAO/tao/Reply_Dispatcher.h | |
parent | 6391b286be7802b1ddd556d2a9457c2c8d6f0a9a (diff) | |
download | ATCD-fd35f5277ea5aa0e87be38e7bc73a45bc7b00fdc.tar.gz |
ChangeLogTag:Wed Jun 9 20:16:36 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Reply_Dispatcher.h')
-rw-r--r-- | TAO/tao/Reply_Dispatcher.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/TAO/tao/Reply_Dispatcher.h b/TAO/tao/Reply_Dispatcher.h index f0d9ace84ad..90132289124 100644 --- a/TAO/tao/Reply_Dispatcher.h +++ b/TAO/tao/Reply_Dispatcher.h @@ -43,11 +43,14 @@ public: virtual int dispatch_reply (CORBA::ULong reply_status, const TAO_GIOP_Version& version, TAO_GIOP_ServiceContextList& reply_ctx, - TAO_InputCDR* cdr) = 0; + TAO_GIOP_Message_State* message_state) = 0; // Dispatch the reply. - virtual TAO_InputCDR *cdr (void) const; - // Get the CDR stream (if any) + virtual TAO_GIOP_Message_State *message_state (void) const; + // Get the Message State + // By default it returns <0> but if the request can pre-allocate one + // for us then we can return it and pass it along for non-Muxed + // transports. }; class TAO_Export TAO_Synch_Reply_Dispatcher : public TAO_Reply_Dispatcher @@ -60,7 +63,7 @@ class TAO_Export TAO_Synch_Reply_Dispatcher : public TAO_Reply_Dispatcher // public: - TAO_Synch_Reply_Dispatcher (TAO_InputCDR* cdr); + TAO_Synch_Reply_Dispatcher (TAO_GIOP_Message_State* message_state); // Constructor. virtual ~TAO_Synch_Reply_Dispatcher (void); @@ -78,8 +81,8 @@ public: virtual int dispatch_reply (CORBA::ULong reply_status, const TAO_GIOP_Version& version, TAO_GIOP_ServiceContextList& reply_ctx, - TAO_InputCDR* cdr); - virtual TAO_InputCDR *cdr (void) const; + TAO_GIOP_Message_State* message_state); + virtual TAO_GIOP_Message_State *message_state (void) const; private: CORBA::ULong reply_status_; @@ -91,7 +94,7 @@ private: TAO_GIOP_ServiceContextList reply_ctx_; // The service context list - TAO_InputCDR *cdr_; + TAO_GIOP_Message_State *message_state_; // CDR stream for reading the input. }; |