TAO 3.1.4
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
TAO::Collocated_Invocation Class Reference

Class for Collocated invocations. More...

#include <Collocated_Invocation.h>

Inheritance diagram for TAO::Collocated_Invocation:
Inheritance graph
[legend]
Collaboration diagram for TAO::Collocated_Invocation:
Collaboration graph
[legend]

Public Member Functions

 Collocated_Invocation (CORBA::Object_ptr t, CORBA::Object_ptr et, TAO_Stub *stub, TAO_Operation_Details &detail, bool response_expected=true)
 Constructor used by TAO::Invocation_Adapter.
 
Invocation_Status invoke (Collocation_Strategy strat)
 
- Public Member Functions inherited from TAO::Invocation_Base
virtual ~Invocation_Base ()
 
TAO_Stubstub () const
 Accessor and mutator methods.
 
CORBA::Object_ptr forwarded_reference ()
 
void forwarded_reference (CORBA::Object_ptr o)
 
TAO_Service_Contextrequest_service_context ()
 Accessors for the service context list.
 
TAO_Service_Contextreply_service_context ()
 
CORBA::Object_ptr steal_forwarded_reference ()
 Return the forwarded object location by loosing ownership.
 
CORBA::Object_ptr effective_target () const
 Return the effective target of the invocation.
 
CORBA::Object_ptr target () const
 Return the target object.
 
CORBA::Boolean response_expected () const
 Does this invocation return a response?
 
GIOP::ReplyStatusType reply_status () const
 Accessor of reply_status of the invocation.
 
void reply_status (GIOP::ReplyStatusType s)
 Mutator of reply_status of the invocation.
 
TAO_Operation_Detailsoperation_details ()
 The operaton details of the invocation.
 

Private Member Functions

 Collocated_Invocation ()=delete
 

Additional Inherited Members

- Protected Member Functions inherited from TAO::Invocation_Base
 Invocation_Base (CORBA::Object_ptr otarget, CORBA::Object_ptr target, TAO_Stub *stub, TAO_Operation_Details &op, bool response_expected, bool request_is_remote)
 
- Protected Attributes inherited from TAO::Invocation_Base
TAO_Operation_Detailsdetails_
 The operation details on which we are operating on.
 
CORBA::Object_var forwarded_to_
 Forwarded object reference.
 
bool response_expected_
 Is response expected?
 
GIOP::ReplyStatusType reply_status_
 A GIOP reply status of the invocation.
 

Detailed Description

Class for Collocated invocations.

Note
Reliable oneways are not handled properly including use of interceptors. This class should technically serve as the base for all invocation types. But now, this is the only class that handles collocated invocations and that too in a brain dead way.

Constructor & Destructor Documentation

◆ Collocated_Invocation() [1/2]

TAO::Collocated_Invocation::Collocated_Invocation ( CORBA::Object_ptr t,
CORBA::Object_ptr et,
TAO_Stub * stub,
TAO_Operation_Details & detail,
bool response_expected = true )

Constructor used by TAO::Invocation_Adapter.

Parameters
tThe target on which invocation first started.
etThe effective target in which this invocation is now flowing
stubStub for effective target et
detailoperation details of the invocation including the service context list
response_expectedflag to indicate whether the operation encapsulated by detail returns a response or not.

◆ Collocated_Invocation() [2/2]

TAO::Collocated_Invocation::Collocated_Invocation ( )
privatedelete

Member Function Documentation

◆ invoke()

Invocation_Status TAO::Collocated_Invocation::invoke ( Collocation_Strategy strat)

Invocation on the collocated object mediated through this class. Practically this method is a place holder to do the following

  • Call the start and end interception points on the client side.
  • Handle location forwards that could be thrown by the servant.

Start the interception point


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