summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Server_Request.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/GIOP_Server_Request.h')
-rw-r--r--TAO/tao/GIOP_Server_Request.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/TAO/tao/GIOP_Server_Request.h b/TAO/tao/GIOP_Server_Request.h
index 52b182a8c39..77ee397b5e1 100644
--- a/TAO/tao/GIOP_Server_Request.h
+++ b/TAO/tao/GIOP_Server_Request.h
@@ -34,8 +34,8 @@ public:
TAO_GIOP_ServerRequest (TAO_InputCDR &input,
TAO_OutputCDR &output,
TAO_ORB_Core *orb_core,
- CORBA_Environment &TAO_IN_ENV =
- TAO_default_environment ());
+ const TAO_GIOP_Version &version,
+ int &parse_error);
// Constructor
TAO_GIOP_ServerRequest (CORBA::ULong &request_id,
CORBA::Boolean &response_expected,
@@ -43,8 +43,8 @@ public:
const ACE_CString &operation,
TAO_OutputCDR &output,
TAO_ORB_Core *orb_core,
- CORBA_Environment &TAO_IN_ENV =
- TAO_default_environment ());
+ const TAO_GIOP_Version &version,
+ int &parse_error);
virtual ~TAO_GIOP_ServerRequest (void);
// Destructor.
@@ -144,14 +144,14 @@ public:
// get the exception type
private:
- void parse_header (CORBA::Environment &TAO_IN_ENV);
+ int parse_header (void);
// Parse the request header and store the result on this object.
- void parse_header_std (CORBA::Environment &TAO_IN_ENV);
+ int parse_header_std (void);
// Parse the standard GIOP request header and store the result on
// this object.
- void parse_header_lite (CORBA::Environment &TAO_IN_ENV);
+ int parse_header_lite (void);
// Parse the lightweight version of the GIOP request header and
// store the result on this object.
@@ -191,6 +191,10 @@ private:
// A pointer to the ORB Core for the context where the request was
// created.
+ TAO_GIOP_Version version_;
+ // The version for the GIOP request, the reply must have the same
+ // one.
+
TAO_GIOP_ServiceContextList service_info_;
// The service context for the request (CORBA Reference?)