diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-08 20:19:55 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-08 20:19:55 +0000 |
commit | 88aa7fad74d32cbb6e671ad14cdde00742d5ee23 (patch) | |
tree | 9fb556cb489f7849e7dbca096364aeab06560015 /TAO/tao/Server_Request.cpp | |
parent | c122ed4ef6b4c3db15b482359638f85aaad3de49 (diff) | |
download | ATCD-88aa7fad74d32cbb6e671ad14cdde00742d5ee23.tar.gz |
ChangeLogTag:Mon Feb 8 13:43:10 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Server_Request.cpp')
-rw-r--r-- | TAO/tao/Server_Request.cpp | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/TAO/tao/Server_Request.cpp b/TAO/tao/Server_Request.cpp index 7338e83ffc0..d9e958a9747 100644 --- a/TAO/tao/Server_Request.cpp +++ b/TAO/tao/Server_Request.cpp @@ -2,9 +2,14 @@ // Implementation of the Dynamic Server Skeleton Interface -#include "tao/corba.h" - -// Timeprobes class +#include "tao/Server_Request.h" + +#include "tao/CDR.h" +#include "tao/POAC.h" +#include "tao/Environment.h" +#include "tao/NVList.h" +#include "tao/Principal.h" +#include "tao/ORB_Core.h" #include "tao/Timeprobe.h" #if !defined (__ACE_INLINE__) @@ -165,7 +170,7 @@ IIOP_ServerRequest::parse_header (CORBA::Environment &env) IIOP_ServerRequest::IIOP_ServerRequest (CORBA::ULong &request_id, CORBA::Boolean &response_expected, - TAO_opaque &object_key, + TAO_ObjectKey &object_key, char* operation, TAO_OutputCDR &output, TAO_ORB_Core *orb_core, @@ -194,6 +199,18 @@ IIOP_ServerRequest::~IIOP_ServerRequest (void) delete this->exception_; } +CORBA::ORB_ptr +IIOP_ServerRequest::orb (void) +{ + return this->orb_core_->orb (); +} + +TAO_POA * +IIOP_ServerRequest::oa (void) +{ + return this->orb_core_->root_poa (); +} + // Unmarshal in/inout params, and set up to marshal the appropriate // inout/out/return values later on. @@ -356,7 +373,7 @@ IIOP_ServerRequest::demarshal (CORBA::Environment &orb_env, if (orb_env.exception ()) { - dexc (orb_env, "ServerRequest::demarshal - parameter decode failed"); + orb_env.print_exception ("ServerRequest::demarshal - parameter decode failed"); return; } } @@ -441,7 +458,7 @@ IIOP_ServerRequest::marshal (CORBA::Environment &orb_env, if (orb_env.exception ()) { - dexc (orb_env, "ServerRequest::marshal - parameter encode failed"); + orb_env.print_exception ("ServerRequest::marshal - parameter encode failed"); return; } } @@ -481,7 +498,7 @@ IIOP_ServerRequest::init_reply (CORBA::Environment &env) // If encoding went fine if (env.exception () != 0) { - dexc (env, "ServerRequest::marshal - forwarding parameter encode failed"); + env.print_exception ("ServerRequest::marshal - forwarding parameter encode failed"); return; } } |