summaryrefslogtreecommitdiff
path: root/TAO/tao/Reply_Dispatcher.cpp
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-11 19:54:01 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-11 19:54:01 +0000
commit15002c71cc3ee2ee7fe207430c1408da25ad85a2 (patch)
treef868c3ac0b082764d6da5e037e6bc5ca6a625eaa /TAO/tao/Reply_Dispatcher.cpp
parentf78e52233d94a9da7d3349894bd190d122ab7a06 (diff)
downloadATCD-15002c71cc3ee2ee7fe207430c1408da25ad85a2.tar.gz
ChangeLogTag : Sun Jul 11 14:45:31 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Reply_Dispatcher.cpp')
-rw-r--r--TAO/tao/Reply_Dispatcher.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/tao/Reply_Dispatcher.cpp b/TAO/tao/Reply_Dispatcher.cpp
index 372cc7e3061..2424db07777 100644
--- a/TAO/tao/Reply_Dispatcher.cpp
+++ b/TAO/tao/Reply_Dispatcher.cpp
@@ -25,12 +25,6 @@ TAO_Reply_Dispatcher::message_state (void) const
return 0;
}
-// int
-// TAO_Reply_Dispatcher::reply_received (void) const
-// {
-// return reply_received_;
-// }
-
// *********************************************************************
// Constructor.
@@ -38,7 +32,8 @@ TAO_Synch_Reply_Dispatcher::TAO_Synch_Reply_Dispatcher (TAO_ORB_Core *orb_core)
: message_state_ (0),
reply_cdr_ (orb_core->create_input_cdr_data_block (ACE_CDR::DEFAULT_BUFSIZE),
TAO_ENCAP_BYTE_ORDER,
- orb_core)
+ orb_core),
+ reply_received_ (0)
{
}
@@ -54,7 +49,7 @@ TAO_Synch_Reply_Dispatcher::dispatch_reply (CORBA::ULong reply_status,
TAO_GIOP_ServiceContextList &reply_ctx,
TAO_GIOP_Message_State *message_state)
{
- // this->reply_received_ = 1;
+ this->reply_received_ = 1;
this->reply_status_ = reply_status;
this->version_ = version;
@@ -85,6 +80,11 @@ TAO_Synch_Reply_Dispatcher::reply_cdr (void)
return this->reply_cdr_;
}
+int &
+TAO_Synch_Reply_Dispatcher::reply_received (void)
+{
+ return reply_received_;
+}
// *********************************************************************
#if defined (TAO_HAS_CORBA_MESSAGING) && defined (TAO_POLLER)