This class is for asynchronous DII invocation. More...
#include <DII_Invocation_Adapter.h>
Public Member Functions | |
DII_Asynch_Invocation_Adapter (CORBA::Object *target, Argument **args, int arg_number, const char *operation, int op_len, CORBA::Request *req, TAO::Invocation_Mode mode=TAO_DII_ASYNCH_INVOCATION) | |
void | invoke_reply_handler (Messaging::ReplyHandler_ptr reply_handler_ptr) |
Invoke the target. | |
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) |
Helper method to make a two way invocation. |
This class is for asynchronous DII invocation.
Definition at line 181 of file DII_Invocation_Adapter.h.
TAO::DII_Asynch_Invocation_Adapter::DII_Asynch_Invocation_Adapter | ( | CORBA::Object * | target, | |
Argument ** | args, | |||
int | arg_number, | |||
const char * | operation, | |||
int | op_len, | |||
CORBA::Request * | req, | |||
TAO::Invocation_Mode | mode = TAO_DII_ASYNCH_INVOCATION | |||
) |
Definition at line 255 of file DII_Invocation_Adapter.cpp.
{
effective_target = synch.steal_forwarded_reference ();
}
return status;
}
DII_Asynch_Invocation_Adapter::DII_Asynch_Invocation_Adapter (
void TAO::DII_Asynch_Invocation_Adapter::invoke_reply_handler | ( | Messaging::ReplyHandler_ptr | reply_handler_ptr | ) |
Invoke the target.
Invocation_Status TAO::DII_Asynch_Invocation_Adapter::invoke_twoway | ( | TAO_Operation_Details & | details, | |
CORBA::Object_var & | effective_target, | |||
Profile_Transport_Resolver & | r, | |||
ACE_Time_Value *& | max_wait_time | |||
) | [protected, virtual] |
Helper method to make a two way invocation.
This method creates a synchronous twoway invocation object to which the actual task of request handling is delegated. Once the invocation returns this method checks whether the request is forwarded to a new location.
Reimplemented from TAO::DII_Invocation_Adapter.
Definition at line 275 of file DII_Invocation_Adapter.cpp.
: DII_Invocation_Adapter (target, args, arg_count,