summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO_Server_Request.h
diff options
context:
space:
mode:
authorvzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-03-28 09:19:19 +0000
committervzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-03-28 09:19:19 +0000
commit7f2a90db8524841c5c2f7a0282f1b1e992c082c1 (patch)
tree58d5d136e2a8179ff8c080c7cce0585f9c6619c0 /TAO/tao/TAO_Server_Request.h
parentcd38a3c363d7b3acb34f464434cdd79ace72df0c (diff)
downloadATCD-7f2a90db8524841c5c2f7a0282f1b1e992c082c1.tar.gz
ChangeLogTag: Fri Mar 28 09:07:14 UTC 2008 Vladimir Zykov <vladimir.zykov@prismtech.com>
Diffstat (limited to 'TAO/tao/TAO_Server_Request.h')
-rw-r--r--TAO/tao/TAO_Server_Request.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/TAO/tao/TAO_Server_Request.h b/TAO/tao/TAO_Server_Request.h
index f0cd4e25724..281937636e9 100644
--- a/TAO/tao/TAO_Server_Request.h
+++ b/TAO/tao/TAO_Server_Request.h
@@ -208,6 +208,12 @@ public:
/// Get the forward_location.
CORBA::Object_ptr forward_location (void);
+ /**
+ * Since forward location is allowed to be nil then this is a proper
+ * method to check if the request is being forwarded.
+ */
+ bool is_forwarded (void) const;
+
/// Get the reply status
GIOP::ReplyStatusType reply_status (void);
@@ -288,6 +294,8 @@ private:
CORBA::Object_var forward_location_;
+ bool is_forwarded_;
+
/// Incoming stream.
TAO_InputCDR *incoming_;
/// Outgoing stream.