// $Id$ #include "tao/Asynch_Invocation.h" #include "tao/Timeprobe.h" #include "tao/Stub.h" #include "tao/Profile.h" #include "tao/Object_KeyC.h" #include "tao/Transport_Mux_Strategy.h" #include "tao/Transport.h" #if !defined (__ACE_INLINE__) # include "tao/Asynch_Invocation.i" #endif /* ! __ACE_INLINE__ */ ACE_RCSID (tao, Asynch_Invocation, "$Id$") #if defined (ACE_ENABLE_TIMEPROBES) static const char *TAO_Asynch_Invocation_Timeprobe_Description[] = { "GIOP_Asynch_Invocation::invoke - start", "GIOP_Asynch_Invocation::invoke - end", "GIOP_Asynch_Invocation::start - enter", "GIOP_Asynch_Invocation::start - leave", "GIOP_Asynch_Invocation::start - connect", "GIOP_Asynch_Invocation::start - start_msg", "GIOP_Asynch_Invocation::start - request_hdr" }; enum { TAO_GIOP_ASYNCH_INVOCATION_INVOKE_START = 1100, TAO_GIOP_ASYNCH_INVOCATION_INVOKE_END, TAO_GIOP_ASYNCH_INVOCATION_START_ENTER, TAO_GIOP_ASYNCH_INVOCATION_START_LEAVE, TAO_GIOP_ASYNCH_INVOCATION_START_CONNECT, TAO_GIOP_ASYNCH_INVOCATION_START_START_MSG, TAO_GIOP_ASYNCH_INVOCATION_START_REQUEST_HDR }; // Setup Timeprobes ACE_TIMEPROBE_EVENT_DESCRIPTIONS (TAO_Asynch_Invocation_Timeprobe_Description, TAO_GIOP_ASYNCH_INVOCATION_INVOKE_START); #endif /* ACE_ENABLE_TIMEPROBES */ TAO_GIOP_Asynch_Invocation::TAO_GIOP_Asynch_Invocation (void) : rd_ (0) { } int TAO_GIOP_Asynch_Invocation::invoke (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { TAO_FUNCTION_PP_TIMEPROBE (TAO_GIOP_ASYNCH_INVOCATION_INVOKE_START); return this->invoke_i (ACE_ENV_SINGLE_ARG_PARAMETER); } void TAO_GIOP_Asynch_Invocation::start (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { this->TAO_GIOP_Invocation::start (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; this->target_spec_.target_specifier (this->profile_->object_key ()); } // **************************************************************************