Wraps the activities direct collocation upcall. More...
#include <Direct_Collocation_Upcall_Wrapper.h>
Public Member Functions | |
void | upcall (CORBA::Object_ptr obj, CORBA::Object_out forward_obj, bool &is_forwarded, TAO::Argument **args, int num_args, const char *op, size_t op_len, TAO::Collocation_Strategy strategy) |
Perform the upcall. |
Wraps the activities direct collocation upcall.
Definition at line 51 of file Direct_Collocation_Upcall_Wrapper.h.
void TAO::Direct_Collocation_Upcall_Wrapper::upcall | ( | CORBA::Object_ptr | obj, | |
CORBA::Object_out | forward_obj, | |||
bool & | is_forwarded, | |||
TAO::Argument ** | args, | |||
int | num_args, | |||
const char * | op, | |||
size_t | op_len, | |||
TAO::Collocation_Strategy | strategy | |||
) |
Perform the upcall.
Definition at line 21 of file Direct_Collocation_Upcall_Wrapper.cpp.
{ TAO_Abstract_ServantBase * const servant = obj->_servant (); TAO_Collocated_Skeleton collocated_skel; if (servant->_find (op, collocated_skel, strategy, op_len) == -1) { throw ::CORBA::BAD_OPERATION (CORBA::OMGVMCID | 2, CORBA::COMPLETED_NO); } #if (TAO_HAS_MINIMUM_CORBA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) try { #endif /* TAO_HAS_MINIMUM_CORBA && !CORBA_E_COMPACT && !CORBA_E_MICRO*/ collocated_skel (servant, args, num_args); #if (TAO_HAS_MINIMUM_CORBA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) } catch (const ::PortableServer::ForwardRequest& forward_request) { forward_obj = CORBA::Object::_duplicate (forward_request.forward_reference.in ()); is_forwarded = true; } #else ACE_UNUSED_ARG (forward_obj); ACE_UNUSED_ARG (is_forwarded); #endif /* TAO_HAS_MINIMUM_CORBA && !CORBA_E_COMPACT && !CORBA_E_MICRO*/ }