Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_GIOP_Asynch_Invocation Class Reference

Base class for TAO_GIOP_Twoway_Asynch_Invocation and TAO_GIOP_DII_Deferred_Invocation. More...

#include <Asynch_Invocation.h>

Inheritance diagram for TAO_GIOP_Asynch_Invocation:

Inheritance graph
[legend]
Collaboration diagram for TAO_GIOP_Asynch_Invocation:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_GIOP_Asynch_Invocation (void)
 Default constructor. This should never get called, it is here only to appease older versions of g++. More...

 TAO_GIOP_Asynch_Invocation (TAO_Stub *stub, const char *operation, CORBA::ULong opname_len, CORBA::Boolean argument_flag, TAO_ORB_Core *orb_core, int byte_order=TAO_ENCAP_BYTE_ORDER)
 Constructor. More...

virtual int invoke (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
 Send request, without blocking until any reply comes back. More...

void start (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
 Establishes a connection to the remote server, initializes headers etc. More...


Protected Methods

virtual int invoke_i (ACE_ENV_SINGLE_ARG_DECL)=0 throw (CORBA::SystemException)
 Must be overridden. More...


Protected Attributes

TAO_Asynch_Reply_Dispatcher_Baserd_
 Reply dispatcher for the current asynchronous invocation. More...


Detailed Description

Base class for TAO_GIOP_Twoway_Asynch_Invocation and TAO_GIOP_DII_Deferred_Invocation.

Definition at line 36 of file Asynch_Invocation.h.


Constructor & Destructor Documentation

TAO_GIOP_Asynch_Invocation::TAO_GIOP_Asynch_Invocation void   
 

Default constructor. This should never get called, it is here only to appease older versions of g++.

Definition at line 55 of file Asynch_Invocation.cpp.

00056   : rd_ (0)
00057 {
00058 }

ACE_INLINE TAO_GIOP_Asynch_Invocation::TAO_GIOP_Asynch_Invocation TAO_Stub   stub,
const char *    operation,
CORBA::ULong    opname_len,
CORBA::Boolean    argument_flag,
TAO_ORB_Core   orb_core,
int    byte_order = TAO_ENCAP_BYTE_ORDER
 

Constructor.

Definition at line 7 of file Asynch_Invocation.i.

00015   : TAO_GIOP_Invocation (stub,
00016                          operation,
00017                          opname_len,
00018                          argument_flag,
00019                          orb_core,
00020                          byte_order),
00021     rd_ (0)
00022 {
00023 }


Member Function Documentation

int TAO_GIOP_Asynch_Invocation::invoke ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS    throw (CORBA::SystemException) [virtual]
 

Send request, without blocking until any reply comes back.

Definition at line 61 of file Asynch_Invocation.cpp.

References ACE_ENV_SINGLE_ARG_DECL, ACE_ENV_SINGLE_ARG_PARAMETER, and TAO_FUNCTION_PP_TIMEPROBE.

00063 {
00064   TAO_FUNCTION_PP_TIMEPROBE (TAO_GIOP_ASYNCH_INVOCATION_INVOKE_START);
00065 
00066   return this->invoke_i (ACE_ENV_SINGLE_ARG_PARAMETER);
00067 }

virtual int TAO_GIOP_Asynch_Invocation::invoke_i ACE_ENV_SINGLE_ARG_DECL    throw (CORBA::SystemException) [protected, pure virtual]
 

Must be overridden.

void TAO_GIOP_Asynch_Invocation::start ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS    throw (CORBA::SystemException)
 

Establishes a connection to the remote server, initializes headers etc.

Reimplemented from TAO_GIOP_Invocation.

Definition at line 70 of file Asynch_Invocation.cpp.

References ACE_CHECK, ACE_ENV_SINGLE_ARG_DECL, ACE_ENV_SINGLE_ARG_PARAMETER, and TAO_GIOP_Invocation::start.

00072 {
00073   this->TAO_GIOP_Invocation::start (ACE_ENV_SINGLE_ARG_PARAMETER);
00074   ACE_CHECK;
00075 
00076   this->target_spec_.target_specifier (this->profile_->object_key ());
00077 }


Member Data Documentation

TAO_Asynch_Reply_Dispatcher_Base* TAO_GIOP_Asynch_Invocation::rd_ [protected]
 

Reply dispatcher for the current asynchronous invocation.

Definition at line 69 of file Asynch_Invocation.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:15:28 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002