PortableServer Namespace Reference

FUZZ: disable check_for_include/. More...


Classes

interface  AdapterActivator
 AdapterActivator interface. More...

exception  ForwardRequest
interface  IdAssignmentPolicy
interface  IdUniquenessPolicy
interface  ImplicitActivationPolicy
interface  LifespanPolicy
interface  POA
exception  POA::AdapterAlreadyExists
exception  POA::AdapterNonExistent
exception  POA::InvalidPolicy
exception  POA::NoServant
exception  POA::ObjectAlreadyActive
exception  POA::ObjectNotActive
exception  POA::ServantAlreadyActive
exception  POA::ServantNotActive
exception  POA::WrongAdapter
exception  POA::WrongPolicy
interface  POAManager
exception  POAManager::AdapterInactive
interface  POAManagerFactory
exception  POAManagerFactory::ManagerAlreadyExists
interface  Current
exception  Current::NoContext
struct  RefCountServantBase
interface  RequestProcessingPolicy
class  Servant_var
 Provides a type safe counted reference to servants. More...

interface  ServantActivator
interface  ServantLocator
interface  ServantManager
interface  ServantRetentionPolicy
interface  ThreadPolicy

Typedefs

typedef POAManagerPOAManager_ptr
typedef TAO_Objref_Var_T<
POAManager
POAManager_var
typedef POAManagerFactoryPOAManagerFactory_ptr
typedef POAPOA_ptr
typedef sequence< POAPOAList
typedef CORBA::OctetSeq ObjectId
typedef TAO_ServantBase ServantBase
typedef Servant_var< TAO_ServantBaseServantBase_var
typedef TAO_Local_ServantBase LocalServantBase
typedef TAO_DynamicImplementation DynamicImplementation
typedef CORBA::OctetSeq_var ObjectId_var
typedef CORBA::OctetSeq_out ObjectId_out
typedef TAO_Objref_Var_T<
POA
POA_var
typedef TAO_Objref_Out_T<
POA
POA_out
typedef ServantManagerServantManager_ptr

Enumerations

enum  IdAssignmentPolicyValue { USER_ID, SYSTEM_ID }
enum  IdUniquenessPolicyValue { UNIQUE_ID, MULTIPLE_ID }
enum  ImplicitActivationPolicyValue { IMPLICIT_ACTIVATION, NO_IMPLICIT_ACTIVATION }
enum  LifespanPolicyValue { TRANSIENT, PERSISTENT }
enum  RequestProcessingPolicyValue { USE_ACTIVE_OBJECT_MAP_ONLY, USE_DEFAULT_SERVANT, USE_SERVANT_MANAGER }
enum  ServantRetentionPolicyValue { RETAIN, NON_RETAIN }
enum  ThreadPolicyValue { ORB_CTRL_MODEL, SINGLE_THREAD_MODEL }

Functions

PortableServer::ObjectIdstring_to_ObjectId (const char *string)
char * ObjectId_to_string (const PortableServer::ObjectId &id)
 Utility functions for the other.

PortableServer::ObjectIdwstring_to_ObjectId (const CORBA::WChar *string)
CORBA::WCharObjectId_to_wstring (const PortableServer::ObjectId &id)
template<class X, class Y> bool operator== (Servant_var< X > const &x, Servant_var< Y > const &y)
 Compare two Servant_vars for equivalence.

template<class X, class Y> bool operator!= (Servant_var< X > const &x, Servant_var< Y > const &y)
 Compare two Servant_vars for non-equivalence.


Variables

const CORBA::PolicyType THREAD_POLICY_ID = 16
const CORBA::PolicyType LIFESPAN_POLICY_ID = 17
const CORBA::PolicyType ID_UNIQUENESS_POLICY_ID = 18
const CORBA::PolicyType ID_ASSIGNMENT_POLICY_ID = 19
const CORBA::PolicyType IMPLICIT_ACTIVATION_POLICY_ID = 20
const CORBA::PolicyType SERVANT_RETENTION_POLICY_ID = 21
const CORBA::PolicyType REQUEST_PROCESSING_POLICY_ID = 22
local interface POAManager
local interface POAManagerFactory
local interface AdapterActivator
local interface ServantManager
local interface POA
native Servant
::CORBA::TypeCode_ptr const  _tc_ObjectId


Detailed Description

FUZZ: disable check_for_include/.

Typedef Documentation

typedef TAO_DynamicImplementation PortableServer::DynamicImplementation
 

Definition at line 73 of file PS_ForwardC.h.

typedef TAO_Local_ServantBase PortableServer::LocalServantBase
 

Definition at line 72 of file PS_ForwardC.h.

typedef CORBA::OctetSeq PortableServer::ObjectId
 

Definition at line 35 of file PS_Forward.pidl.

typedef CORBA::OctetSeq_out PortableServer::ObjectId_out
 

Definition at line 80 of file PS_ForwardC.h.

typedef CORBA::OctetSeq_var PortableServer::ObjectId_var
 

Definition at line 79 of file PS_ForwardC.h.

typedef TAO_Objref_Out_T< POA > PortableServer::POA_out
 

Definition at line 101 of file PS_ForwardC.h.

typedef POA * PortableServer::POA_ptr
 

Definition at line 44 of file ORT_Adapter.h.

Referenced by POA_CORBA::Policy_tie< T >::Policy_tie(), and TAO::Portable_Server::Adapter_Activator::unknown_adapter().

typedef TAO_Objref_Var_T< POA > PortableServer::POA_var
 

Definition at line 95 of file PS_ForwardC.h.

Referenced by TAO_ServantBase::_create_stub(), TAO_Root_POA::adapter_name_i(), TAO_Root_POA::create_POA_i(), TAO_Root_POA::destroy_i(), and TAO::Portable_Server::Adapter_Activator::unknown_adapter().

typedef sequence<POA> PortableServer::POAList
 

Definition at line 66 of file POA.pidl.

Referenced by TAO_Root_POA::the_children_i().

typedef POAManager * PortableServer::POAManager_ptr
 

Definition at line 32 of file Adapter_Activator.h.

Referenced by TAO::Portable_Server::Adapter_Activator::Adapter_Activator(), TAO_Root_POA::create_POA(), TAO_Root_POA::create_POA_i(), TAO_POAManager_Factory::create_POAManager(), TAO_Default_Servant_Dispatcher::create_Root_POA(), TAO_Root_POA::new_POA(), TAO_Object_Adapter::open(), TAO_POAManager_Factory::register_poamanager(), TAO_POAManager_Factory::remove_poamanager(), TAO_Regular_POA::TAO_Regular_POA(), and TAO_Root_POA::TAO_Root_POA().

typedef TAO_Objref_Var_T<POAManager> PortableServer::POAManager_var
 

Definition at line 33 of file Adapter_Activator.h.

Referenced by TAO_Root_POA::create_POA_i(), TAO_POAManager_Factory::create_POAManager(), and TAO_Object_Adapter::open().

typedef POAManagerFactory * PortableServer::POAManagerFactory_ptr
 

Definition at line 59 of file Object_Adapter.cpp.

Referenced by TAO_POA_Manager::TAO_POA_Manager().

typedef::TAO_ServantBase PortableServer::ServantBase
 

Definition at line 66 of file PS_ForwardC.h.

typedef Servant_var< TAO_ServantBase > PortableServer::ServantBase_var
 

Definition at line 69 of file PS_ForwardC.h.

typedef ServantManager* PortableServer::ServantManager_ptr
 

Definition at line 31 of file RequestProcessingStrategy.h.

Referenced by TAO_Root_POA::set_servant_manager(), TAO::Portable_Server::RequestProcessingStrategyServantLocator::set_servant_manager(), TAO::Portable_Server::RequestProcessingStrategyServantActivator::set_servant_manager(), TAO::Portable_Server::RequestProcessingStrategyDefaultServant::set_servant_manager(), TAO::Portable_Server::RequestProcessingStrategyAOMOnly::set_servant_manager(), and TAO::Portable_Server::RequestProcessingStrategyServantManager::validate_servant_manager().


Enumeration Type Documentation

enum PortableServer::IdAssignmentPolicyValue
 

Enumeration values:
USER_ID 
SYSTEM_ID 

Definition at line 20 of file IdAssignmentPolicy.pidl.

00021   {
00022     USER_ID,
00023     SYSTEM_ID
00024   };

enum PortableServer::IdUniquenessPolicyValue
 

Enumeration values:
UNIQUE_ID 
MULTIPLE_ID 

Definition at line 20 of file IdUniquenessPolicy.pidl.

00021   {
00022     UNIQUE_ID,
00023     MULTIPLE_ID
00024   };

enum PortableServer::ImplicitActivationPolicyValue
 

Enumeration values:
IMPLICIT_ACTIVATION 
NO_IMPLICIT_ACTIVATION 

Definition at line 20 of file ImplicitActivationPolicy.pidl.

00021   {
00022     IMPLICIT_ACTIVATION,
00023     NO_IMPLICIT_ACTIVATION
00024   };

enum PortableServer::LifespanPolicyValue
 

Enumeration values:
TRANSIENT 
PERSISTENT 

Definition at line 20 of file LifespanPolicy.pidl.

00021   {
00022     TRANSIENT,
00023     PERSISTENT
00024   };

enum PortableServer::RequestProcessingPolicyValue
 

Enumeration values:
USE_ACTIVE_OBJECT_MAP_ONLY 
USE_DEFAULT_SERVANT 
USE_SERVANT_MANAGER 

Definition at line 28 of file RequestProcessingPolicy.pidl.

enum PortableServer::ServantRetentionPolicyValue
 

Enumeration values:
RETAIN 
NON_RETAIN 

Definition at line 28 of file ServantRetentionPolicy.pidl.

00029   {
00030     RETAIN,
00031     NON_RETAIN
00032   };

enum PortableServer::ThreadPolicyValue
 

Enumeration values:
ORB_CTRL_MODEL 
SINGLE_THREAD_MODEL 

Definition at line 28 of file ThreadPolicy.pidl.

00029   {
00030     ORB_CTRL_MODEL,
00031     SINGLE_THREAD_MODEL
00032 /*    ,MAIN_THREAD_MODEL*/
00033   };


Function Documentation

TAO_NAMESPACE_STORAGE_CLASS char * PortableServer::ObjectId_to_string const PortableServer::ObjectId id  ) 
 

Utility functions for the other.

Definition at line 43 of file PortableServer_Functions.cpp.

References ACE_OS::memcpy(), and CORBA::string_alloc().

00044   {
00045     // Create space
00046     char * string = CORBA::string_alloc (id.length ());
00047 
00048     // Copy the data
00049     ACE_OS::memcpy (string, id.get_buffer (), id.length ());
00050 
00051     // Null terminate the string
00052     string[id.length ()] = '\0';
00053 
00054     // Return string
00055     return string;
00056   }

TAO_NAMESPACE_STORAGE_CLASS CORBA::WChar * PortableServer::ObjectId_to_wstring const PortableServer::ObjectId id  ) 
 

Definition at line 44 of file PortableServer_WFunctions.cpp.

References ACE_OS::memcpy(), and CORBA::wstring_alloc().

00045   {
00046     // Compute resulting wide string's length.
00047     CORBA::ULong string_length =
00048       id.length () / sizeof (CORBA::WChar);
00049 
00050     // Allocate an extra slot if the id's length is not "aligned" on a
00051     // CORBA::WChar.
00052     if (id.length () % sizeof (CORBA::WChar))
00053       string_length++;
00054 
00055     // Create space - note that this method adds + 1 for the '\0'.
00056     CORBA::WChar* string = CORBA::wstring_alloc (string_length);
00057 
00058     // Copy the data
00059     ACE_OS::memcpy (string,
00060                     id.get_buffer (),
00061                     id.length ());
00062 
00063     // Null terminate the string
00064     string[string_length] = '\0';
00065 
00066     // Return string.
00067     return string;
00068   }

template<class X, class Y>
bool operator!= Servant_var< X > const &  x,
Servant_var< Y > const &  y
 

Compare two Servant_vars for non-equivalence.

template<class X, class Y>
bool operator== Servant_var< X > const &  x,
Servant_var< Y > const &  y
 

Compare two Servant_vars for equivalence.

TAO_NAMESPACE_STORAGE_CLASS PortableServer::ObjectId * PortableServer::string_to_ObjectId const char *  id  ) 
 

Definition at line 14 of file PortableServer_Functions.cpp.

References ACE_NEW_RETURN, ACE_OS::memcpy(), and ACE_OS::strlen().

00015   {
00016     // Size of string
00017     //
00018     // We DO NOT include the zero terminator, as this is simply an
00019     // artifact of the way strings are stored in C.
00020     //
00021     CORBA::ULong buffer_size = static_cast <CORBA::ULong>
00022                                            (ACE_OS::strlen (string));
00023 
00024     // Create the buffer for the Id
00025     CORBA::Octet *buffer = PortableServer::ObjectId::allocbuf (buffer_size);
00026 
00027     // Copy the contents
00028     ACE_OS::memcpy (buffer, string, buffer_size);
00029 
00030     // Create and return a new ID
00031     PortableServer::ObjectId *id = 0;
00032     ACE_NEW_RETURN (id,
00033                     PortableServer::ObjectId (buffer_size,
00034                                               buffer_size,
00035                                               buffer,
00036                                               1),
00037                     0);
00038 
00039     return id;
00040   }

TAO_NAMESPACE_STORAGE_CLASS PortableServer::ObjectId * PortableServer::wstring_to_ObjectId const CORBA::WChar id  ) 
 

Definition at line 14 of file PortableServer_WFunctions.cpp.

References ACE_NEW_RETURN, ACE_OS::memcpy(), and ACE_OS::wslen().

00015   {
00016     // Size of Id
00017     //
00018     // We DO NOT include the zero terminator, as this is simply an
00019     // artifact of the way strings are stored in C.
00020     //
00021     u_int string_length = ACE_OS::wslen (string);
00022 
00023     CORBA::ULong buffer_size = string_length * sizeof (CORBA::WChar);
00024 
00025     // Create the buffer for the Id
00026     CORBA::Octet *buffer = PortableServer::ObjectId::allocbuf (buffer_size);
00027 
00028     // Copy contents
00029     ACE_OS::memcpy (buffer, string, buffer_size);
00030 
00031     // Create a new ID
00032     PortableServer::ObjectId *id = 0;
00033     ACE_NEW_RETURN (id,
00034                     PortableServer::ObjectId (buffer_size,
00035                                               buffer_size,
00036                                               buffer,
00037                                               1),
00038                     0);
00039 
00040     return id;
00041   }


Variable Documentation

TAO_PortableServer_Export::CORBA::TypeCode_ptr const PortableServer::_tc_ObjectId
 

Initial value:

    &_tao_tc_PortableServer_ObjectId

Definition at line 51 of file PS_ForwardA.cpp.

local interface PortableServer::AdapterActivator
 

Definition at line 93 of file POA.pidl.

const CORBA::PolicyType PortableServer::ID_ASSIGNMENT_POLICY_ID = 19
 

Definition at line 75 of file POA.pidl.

const CORBA::PolicyType PortableServer::ID_UNIQUENESS_POLICY_ID = 18
 

Definition at line 74 of file POA.pidl.

const CORBA::PolicyType PortableServer::IMPLICIT_ACTIVATION_POLICY_ID = 20
 

Definition at line 78 of file POA.pidl.

const CORBA::PolicyType PortableServer::LIFESPAN_POLICY_ID = 17
 

Definition at line 73 of file POA.pidl.

local interface PortableServer::POA
 

Definition at line 37 of file PS_Forward.pidl.

local interface PortableServer::POAManager
 

Definition at line 30 of file POAManagerFactory.pidl.

local interface PortableServer::POAManagerFactory
 

Definition at line 88 of file POA.pidl.

const CORBA::PolicyType PortableServer::REQUEST_PROCESSING_POLICY_ID = 22
 

Definition at line 80 of file POA.pidl.

typedef ServantBase * PortableServer::Servant
 

Definition at line 70 of file PS_ForwardC.h.

const CORBA::PolicyType PortableServer::SERVANT_RETENTION_POLICY_ID = 21
 

Definition at line 79 of file POA.pidl.

local interface PortableServer::ServantManager
 

Definition at line 98 of file POA.pidl.

const CORBA::PolicyType PortableServer::THREAD_POLICY_ID = 16
 

Definition at line 70 of file POA.pidl.


Generated on Sun Jan 27 13:28:02 2008 for TAO_PortableServer by doxygen 1.3.6