TAO_DynamicInterface  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
TAO::DII_Invocation_Adapter Class Reference

Generic interface for the DII invocation object visible. More...

#include <DII_Invocation_Adapter.h>

Inheritance diagram for TAO::DII_Invocation_Adapter:
Inheritance graph
Collaboration diagram for TAO::DII_Invocation_Adapter:
Collaboration graph

Public Member Functions

 DII_Invocation_Adapter (CORBA::Object *target, Argument **args, int arg_number, const char *operation, size_t op_len, CORBA::ExceptionList *exception, CORBA::Request *r, Invocation_Mode mode=TAO_DII_INVOCATION)
 
virtual ~DII_Invocation_Adapter (void)
 
virtual void invoke (TAO::Exception_Data *ex, unsigned long ex_count)
 Invoke the target. More...
 
- Public Member Functions inherited from TAO::Invocation_Adapter
 Invocation_Adapter (CORBA::Object_ptr target, Argument **args, int arg_number, const char *operation, size_t op_len, int collocation_opportunity, TAO::Invocation_Type type=TAO_TWOWAY_INVOCATION, TAO::Invocation_Mode mode=TAO_SYNCHRONOUS_INVOCATION, bool has_in_args=true)
 
virtual ~Invocation_Adapter (void)
 

Protected Member Functions

virtual Invocation_Status invoke_twoway (TAO_Operation_Details &op, CORBA::Object_var &effective_target, Profile_Transport_Resolver &r, ACE_Time_Value *&max_wait_time, Invocation_Retry_State *retry_state=0)
 
virtual Invocation_Status invoke_collocated_i (TAO_Stub *stub, TAO_Operation_Details &details, CORBA::Object_var &effective_target, Collocation_Strategy strat)
 
- Protected Member Functions inherited from TAO::Invocation_Adapter
virtual void invoke_i (TAO_Stub *stub, TAO_Operation_Details &details)
 
bool get_timeout (TAO_Stub *stub, ACE_Time_Value &val)
 
TAO_Stubget_stub (void) const
 
void object_forwarded (CORBA::Object_var &effective_target, TAO_Stub *stub, CORBA::Boolean permanent_forward)
 
void set_response_flags (TAO_Stub *stub, TAO_Operation_Details &details)
 
virtual Invocation_Status invoke_remote_i (TAO_Stub *stub, TAO_Operation_Details &details, CORBA::Object_var &effective_target, ACE_Time_Value *&max_wait_time, Invocation_Retry_State *retry_state=0)
 
virtual Invocation_Status invoke_oneway (TAO_Operation_Details &details, CORBA::Object_var &effective_target, Profile_Transport_Resolver &r, ACE_Time_Value *&max_wait_time)
 

Private Member Functions

 DII_Invocation_Adapter (void)
 Dont allow default initializations. More...
 
 DII_Invocation_Adapter (const DII_Invocation_Adapter &)
 
DII_Invocation_Adapteroperator= (const DII_Invocation_Adapter &)
 

Private Attributes

CORBA::ExceptionListexception_list_
 
CORBA::Requestrequest_
 
TAO::Exception_Dataex_data_
 

Additional Inherited Members

- Protected Attributes inherited from TAO::Invocation_Adapter
CORBA::Object_ptr target_
 
Argument **const args_
 
int const number_args_
 
bool has_in_args_
 
char const * operation_
 
size_t const op_len_
 
int const collocation_opportunity_
 
Invocation_Type const type_
 
Invocation_Mode const mode_
 

Detailed Description

Generic interface for the DII invocation object visible.

Constructor & Destructor Documentation

TAO::DII_Invocation_Adapter::DII_Invocation_Adapter ( CORBA::Object target,
Argument **  args,
int  arg_number,
const char *  operation,
size_t  op_len,
CORBA::ExceptionList exception,
CORBA::Request r,
Invocation_Mode  mode = TAO_DII_INVOCATION 
)

The only constructor used by the IDL compiler and only way to create this adapter.

Parameters
targetPoints to the object on which this invocation is being invoked.
argsArray of pointers to the argument list in the operation declaration. this includes the return, inout and out arguments.
arg_numberNumber of arguments in the above array. This is the number of elements in the above array.
operationThe name of the operation being invoked.
op_lenNumber of characters in the operation name. This is an optimization which helps us to avoid calling strlen () while creating a message format.
modeInvocation mode. This information is also available in the IDL file and in the generated code.
TAO::DII_Invocation_Adapter::~DII_Invocation_Adapter ( void  )
virtual
TAO::DII_Invocation_Adapter::DII_Invocation_Adapter ( void  )
private

Dont allow default initializations.

TAO::DII_Invocation_Adapter::DII_Invocation_Adapter ( const DII_Invocation_Adapter )
private

Member Function Documentation

void TAO::DII_Invocation_Adapter::invoke ( TAO::Exception_Data ex,
unsigned long  ex_count 
)
virtual

Invoke the target.

Reimplemented from TAO::Invocation_Adapter.

Invocation_Status TAO::DII_Invocation_Adapter::invoke_collocated_i ( TAO_Stub stub,
TAO_Operation_Details details,
CORBA::Object_var effective_target,
Collocation_Strategy  strat 
)
protectedvirtual

Reimplemented from TAO::Invocation_Adapter.

Invocation_Status TAO::DII_Invocation_Adapter::invoke_twoway ( TAO_Operation_Details op,
CORBA::Object_var effective_target,
Profile_Transport_Resolver r,
ACE_Time_Value *&  max_wait_time,
Invocation_Retry_State retry_state = 0 
)
protectedvirtual

Reimplemented from TAO::Invocation_Adapter.

Reimplemented in TAO::DII_Asynch_Invocation_Adapter.

DII_Invocation_Adapter& TAO::DII_Invocation_Adapter::operator= ( const DII_Invocation_Adapter )
private

Member Data Documentation

TAO::Exception_Data* TAO::DII_Invocation_Adapter::ex_data_
private
CORBA::ExceptionList* TAO::DII_Invocation_Adapter::exception_list_
private
CORBA::Request* TAO::DII_Invocation_Adapter::request_
private

The documentation for this class was generated from the following files: