TAO_PortableServer  2.1.2
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
POA_CORBA::Policy Class Reference

#include <PolicyS.h>

Inheritance diagram for POA_CORBA::Policy:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ::CORBA::Policy _stub_type
 Useful for template programming.
typedef ::CORBA::Policy_ptr _stub_ptr_type
typedef ::CORBA::Policy_var _stub_var_type
- Public Types inherited from TAO_ServantBase

Public Member Functions

 Policy (const Policy &rhs)
virtual ~Policy (void)
virtual ::CORBA::Boolean _is_a (const char *logical_type_id)
 Local implementation of the CORBA::Object::_is_a method.
virtual void _dispatch (TAO_ServerRequest &req, TAO::Portable_Server::Servant_Upcall *servant_upcall)
::CORBA::Policy_this (void)
virtual const char * _interface_repository_id (void) const
 Get this interface's repository id (TAO specific).
virtual ::CORBA::PolicyType policy_type (void)=0
virtual ::CORBA::Policy_ptr copy (void)=0
virtual void destroy (void)=0
- Public Member Functions inherited from TAO_ServantBase
virtual ~TAO_ServantBase (void)
 Destructor.
virtual PortableServer::POA_ptr _default_POA (void)
 Returns the default POA for this servant.
virtual CORBA::Boolean _non_existent (void)
 Default _non_existent: always returns false.
virtual CORBA::InterfaceDef_ptr _get_interface (void)
 Query the Interface Repository for the interface definition.
virtual CORBA::Object_ptr _get_component (void)
 Default _get_component: always returns CORBA::Object::_nil().
virtual char * _repository_id (void)
 Get the repository id.
virtual TAO_Stub_create_stub (void)
 This is an auxiliary method for _this() and _narrow().
virtual int _find (const char *opname, TAO_Skeleton &skelfunc, const size_t length=0)
virtual int _find (const char *opname, TAO_Collocated_Skeleton &skelfunc, TAO::Collocation_Strategy st, const size_t length=0)
virtual void _collocated_dispatch (::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)
virtual void _add_ref (void)
 Increase reference count by one.
virtual void _remove_ref (void)
virtual CORBA::ULong _refcount_value (void) const
- Public Member Functions inherited from TAO_Abstract_ServantBase
virtual ~TAO_Abstract_ServantBase (void)

Static Public Member Functions

static void _get_policy_type_skel (TAO_ServerRequest &server_request, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
static void copy_skel (TAO_ServerRequest &server_request, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
static void destroy_skel (TAO_ServerRequest &server_request, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
- Static Public Member Functions inherited from TAO_ServantBase
static void _is_a_skel (TAO_ServerRequest &req, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
static void _is_a_thru_poa_skel (TAO_ServerRequest &server_request, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
static void _non_existent_skel (TAO_ServerRequest &req, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
static void _non_existent_thru_poa_skel (TAO_ServerRequest &server_request, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
static void _interface_skel (TAO_ServerRequest &req, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
static void _component_skel (TAO_ServerRequest &req, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
static void _component_thru_poa_skel (TAO_ServerRequest &server_request, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
static void _repository_id_skel (TAO_ServerRequest &req, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)
static void _repository_id_thru_poa_skel (TAO_ServerRequest &server_request, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *servant)

Protected Member Functions

 Policy (void)
- Protected Member Functions inherited from TAO_ServantBase
 TAO_ServantBase (void)
 Default constructor, only derived classes can be created.
 TAO_ServantBase (const TAO_ServantBase &)
 Copy constructor, protected so no instances can be created.
TAO_ServantBaseoperator= (const TAO_ServantBase &)
 Assignment operator.
void synchronous_upcall_dispatch (TAO_ServerRequest &req, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *derived_this)
void asynchronous_upcall_dispatch (TAO_ServerRequest &req, TAO::Portable_Server::Servant_Upcall *servant_upcall, TAO_ServantBase *derived_this)
- Protected Member Functions inherited from TAO_Abstract_ServantBase
 TAO_Abstract_ServantBase (void)
 TAO_Abstract_ServantBase (const TAO_Abstract_ServantBase &)
TAO_Abstract_ServantBaseoperator= (const TAO_Abstract_ServantBase &)

Additional Inherited Members

- Protected Attributes inherited from TAO_ServantBase
ACE_Atomic_Op< TAO_SYNCH_MUTEX,
unsigned long > 
ref_count_
 Reference counter.
TAO_Operation_Tableoptable_

Member Typedef Documentation

Reimplemented from TAO_ServantBase.

Useful for template programming.

Reimplemented from TAO_ServantBase.

Reimplemented from TAO_ServantBase.


Constructor & Destructor Documentation

POA_CORBA::Policy::Policy ( void  )
protected
POA_CORBA::Policy::Policy ( const Policy rhs)
POA_CORBA::Policy::~Policy ( void  )
virtual

Member Function Documentation

void POA_CORBA::Policy::_dispatch ( TAO_ServerRequest request,
TAO::Portable_Server::Servant_Upcall servant_upcall 
)
virtual

Dispatches a request to the object: find the operation, cast the type to the most derived type, demarshall all the parameters from the request and finally invokes the operation, storing the results and out parameters (if any) or the exceptions thrown into request.

Implements TAO_ServantBase.

void POA_CORBA::Policy::_get_policy_type_skel ( TAO_ServerRequest server_request,
TAO::Portable_Server::Servant_Upcall servant_upcall,
TAO_ServantBase servant 
)
static
const char * POA_CORBA::Policy::_interface_repository_id ( void  ) const
virtual

Get this interface's repository id (TAO specific).

Implements TAO_ServantBase.

CORBA::Boolean POA_CORBA::Policy::_is_a ( const char *  logical_type_id)
virtual

Local implementation of the CORBA::Object::_is_a method.

Reimplemented from TAO_ServantBase.

CORBA::Policy * POA_CORBA::Policy::_this ( void  )
virtual ::CORBA::Policy_ptr POA_CORBA::Policy::copy ( void  )
pure virtual

Implemented in POA_CORBA::Policy_tie< T >.

void POA_CORBA::Policy::copy_skel ( TAO_ServerRequest server_request,
TAO::Portable_Server::Servant_Upcall servant_upcall,
TAO_ServantBase servant 
)
static
virtual void POA_CORBA::Policy::destroy ( void  )
pure virtual

Implemented in POA_CORBA::Policy_tie< T >.

void POA_CORBA::Policy::destroy_skel ( TAO_ServerRequest server_request,
TAO::Portable_Server::Servant_Upcall servant_upcall,
TAO_ServantBase servant 
)
static
virtual ::CORBA::PolicyType POA_CORBA::Policy::policy_type ( void  )
pure virtual

Implemented in POA_CORBA::Policy_tie< T >.


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