diff options
Diffstat (limited to 'TAO/tao/Server_Request.h')
-rw-r--r-- | TAO/tao/Server_Request.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/TAO/tao/Server_Request.h b/TAO/tao/Server_Request.h index 7a72c875e11..e6f7088431c 100644 --- a/TAO/tao/Server_Request.h +++ b/TAO/tao/Server_Request.h @@ -151,6 +151,9 @@ public: virtual const char *operation (void) const = 0; // get the operation name + virtual unsigned int operation_length (void) const = 0; + // get the length of the operation name + virtual void init_reply (CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ()) = 0; // Start a Reply message. @@ -206,7 +209,7 @@ public: IIOP_ServerRequest (CORBA::ULong &request_id, CORBA::Boolean &response_expected, TAO_ObjectKey &object_key, - char* operation, + const ACE_CString &operation, TAO_OutputCDR &output, TAO_ORB_Core *orb_core, CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ()); @@ -237,6 +240,9 @@ public: const char *operation (void) const; // return the operation name + unsigned int operation_length (void) const; + // return the legnth of the operation + // CORBA::Context_ptr ctx (void); // return the context pointer @@ -313,7 +319,7 @@ private: // store the result on this object. private: - char* operation_; + ACE_CString operation_; // Operation name. CORBA::Object_var forward_location_; |