summaryrefslogtreecommitdiff
path: root/TAO/tao/Reply_Dispatcher.cpp
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2000-03-16 01:05:04 +0000
committerbala <balanatarajan@users.noreply.github.com>2000-03-16 01:05:04 +0000
commit99a6530e474829e7445fc2b9f8d1f9cfc8fd7b75 (patch)
tree38f3d288a1c8cb644ab41f9412545fb6a6373646 /TAO/tao/Reply_Dispatcher.cpp
parent2aa59ab37881f803d72f75f678cf9cb39ea00cf6 (diff)
downloadATCD-99a6530e474829e7445fc2b9f8d1f9cfc8fd7b75.tar.gz
ChangeLogTag: Wed Mar 15 18:22:52 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Reply_Dispatcher.cpp')
-rw-r--r--TAO/tao/Reply_Dispatcher.cpp21
1 files changed, 11 insertions, 10 deletions
diff --git a/TAO/tao/Reply_Dispatcher.cpp b/TAO/tao/Reply_Dispatcher.cpp
index 88a74281179..d58b09c496a 100644
--- a/TAO/tao/Reply_Dispatcher.cpp
+++ b/TAO/tao/Reply_Dispatcher.cpp
@@ -1,5 +1,6 @@
// $Id$
+
#include "tao/Reply_Dispatcher.h"
#include "tao/ORB_Core.h"
#include "tao/Leader_Follower.h"
@@ -53,14 +54,14 @@ TAO_Synch_Reply_Dispatcher::~TAO_Synch_Reply_Dispatcher (void)
// Dispatch the reply.
int
TAO_Synch_Reply_Dispatcher::dispatch_reply (CORBA::ULong reply_status,
- const TAO_GIOP_Version &version,
+ const TAO_GIOP_Version & /*version*/,
IOP::ServiceContextList &reply_ctx,
TAO_GIOP_Message_State *message_state)
{
this->reply_received_ = 1;
this->reply_status_ = reply_status;
- this->version_ = version;
+ //this->version_ = version;
// Steal the buffer, that way we don't do any unnecesary copies of
// this data.
@@ -158,12 +159,12 @@ TAO_Asynch_Reply_Dispatcher::~TAO_Asynch_Reply_Dispatcher (void)
// Dispatch the reply.
int
TAO_Asynch_Reply_Dispatcher::dispatch_reply (CORBA::ULong reply_status,
- const TAO_GIOP_Version &version,
+ const TAO_GIOP_Version & /*version*/,
IOP::ServiceContextList &reply_ctx,
TAO_GIOP_Message_State *message_state)
{
this->reply_status_ = reply_status;
- this->version_ = version;
+ // this->version_ = version;
this->message_state_ = message_state;
// Steal the buffer, that way we don't do any unnecesary copies of
@@ -183,17 +184,17 @@ TAO_Asynch_Reply_Dispatcher::dispatch_reply (CORBA::ULong reply_status,
CORBA::ULong reply_error = TAO_AMI_REPLY_NOT_OK;
switch (reply_status)
{
- case TAO_GIOP_NO_EXCEPTION:
+ case TAO_PLUGGABLE_MESSAGE_NO_EXCEPTION:
reply_error = TAO_AMI_REPLY_OK;
break;
- case TAO_GIOP_USER_EXCEPTION:
+ case TAO_PLUGGABLE_MESSAGE_USER_EXCEPTION:
reply_error = TAO_AMI_REPLY_USER_EXCEPTION;
break;
- case TAO_GIOP_SYSTEM_EXCEPTION:
+ case TAO_PLUGGABLE_MESSAGE_SYSTEM_EXCEPTION:
reply_error = TAO_AMI_REPLY_SYSTEM_EXCEPTION;
break;
default:
- case TAO_GIOP_LOCATION_FORWARD:
+ case TAO_PLUGGABLE_MESSAGE_LOCATION_FORWARD:
// @@ Michael: Not even the spec mentions this case.
// We have to think about this case.
// Handle the forwarding and return so the stub restarts the
@@ -258,13 +259,13 @@ TAO_DII_Deferred_Reply_Dispatcher::~TAO_DII_Deferred_Reply_Dispatcher (void)
int
TAO_DII_Deferred_Reply_Dispatcher::dispatch_reply (
CORBA::ULong reply_status,
- const TAO_GIOP_Version &version,
+ const TAO_GIOP_Version & /*version*/,
IOP::ServiceContextList &reply_ctx,
TAO_GIOP_Message_State *message_state
)
{
this->reply_status_ = reply_status;
- this->version_ = version;
+ //this->version_ = version;
this->message_state_ = message_state;
// Steal the buffer, that way we don't do any unnecesary copies of