TAO_Server_Request.cpp File Reference

#include "tao/TAO_Server_Request.h"
#include "tao/ORB_Core.h"
#include "tao/Timeprobe.h"
#include "tao/debug.h"
#include "tao/GIOP_Message_Base.h"
#include "tao/GIOP_Utils.h"
#include "tao/Stub.h"
#include "tao/operation_details.h"
#include "tao/Transport.h"
#include "tao/CDR.h"
#include "tao/SystemException.h"
#include "tao/PortableInterceptorC.h"
#include "tao/ServerRequestInterceptor_Adapter.h"
Include dependency graph for TAO_Server_Request.cpp:

Go to the source code of this file.

Functions

 ACE_RCSID (tao, TAO_Server_Request,"$Id: TAO_Server_Request.cpp 85203 2009-04-28 20:34:16Z mitza $") 1 TAO_ServerRequest

Function Documentation

ACE_RCSID ( tao  ,
TAO_Server_Request  ,
"$Id: TAO_Server_Request.cpp 85203 2009-04-28 20:34:16Z mitza $"   
)

Definition at line 24 of file TAO_Server_Request.cpp.

00026                : TAO_Server_Request.cpp 85203 2009-04-28 20:34:16Z mitza $")
00027 
00028 #if defined (ACE_ENABLE_TIMEPROBES)
00029 
00030 static const char * TAO_Server_Request_Timeprobe_Description[] =
00031 {
00032   "TAO_ServerRequest::TAO_ServerRequest - start",
00033   "TAO_ServerRequest::TAO_ServerRequest - end",
00034 };
00035 
00036 enum
00037   {
00038     // Timeprobe description table start key.
00039     TAO_SERVER_REQUEST_START = 400,
00040     TAO_SERVER_REQUEST_END
00041   };
00042 
00043 // Setup Timeprobes
00044 ACE_TIMEPROBE_EVENT_DESCRIPTIONS (TAO_Server_Request_Timeprobe_Description,
00045                                   TAO_SERVER_REQUEST_START);
00046 
00047 #endif /* ACE_ENABLE_TIMEPROBES */
00048 
00049 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00050 
00051 TAO_ServerRequest::TAO_ServerRequest (TAO_GIOP_Message_Base *mesg_base,
00052                                       TAO_InputCDR &input,
00053                                       TAO_OutputCDR &output,
00054                                       TAO_Transport *transport,
00055                                       TAO_ORB_Core *orb_core)
00056   : mesg_base_ (mesg_base),
00057     operation_ (0),
00058     operation_len_ (0),
00059     release_operation_ (false),
00060     is_forwarded_ (false),
00061     incoming_ (&input),
00062     outgoing_ (&output),
00063     response_expected_ (false),
00064     deferred_reply_ (false),
00065     sync_with_server_ (false),
00066     is_dsi_ (false),
00067     // @@ We shouldn't be using GIOP specific types here. Need to be revisited.
00068     reply_status_ (GIOP::NO_EXCEPTION),
00069     orb_core_ (orb_core),
00070     request_id_ (0),
00071     profile_ (orb_core),
00072     requesting_principal_ (0),
00073     dsi_nvlist_align_ (0),
00074     operation_details_ (0),
00075     argument_flag_ (true)
00076 #if TAO_HAS_INTERCEPTORS == 1
00077     , interceptor_count_ (0)
00078     , rs_pi_current_ (0)
00079     , caught_exception_ (0)
00080     , pi_reply_status_ (-1)
00081 #endif  /* TAO_HAS_INTERCEPTORS == 1 */
00082     , transport_(transport) //already duplicated in TAO_Transport::process_parsed_messages ()
00083 {
00084   ACE_FUNCTION_TIMEPROBE (TAO_SERVER_REQUEST_START);
00085   // No-op.
00086 }

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Sat Nov 21 23:27:52 2009 for TAO by  doxygen 1.6.1