Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

mpcl::net::corba::TOrb Class Reference

Base class for CORBA servant applications. More...

#include <orb.hh>

List of all members.

Public Methods

template<typename TObject, typename TObjectReference> TObjectReference enrol (TObject *ptOBJECT)
template<typename TObject, typename TObjectReference> TObjectReference enrol (TObject *ptOBJECT, const TString &rkyCOMPOUND_NAME)
template<typename TObject, typename TObjectReference> TObjectReference request (const TString &rkyOBJECT_IDENTIFIER)
template<typename TObject, typename TObjectReference> TObjectReference request (const char *pkcOBJECT_IDENTIFIER)
void setColocated (bool gCOLOCATED)


Detailed Description

Base class for CORBA servant applications.

Definition at line 50 of file orb.hh.


Member Function Documentation

template<typename TObject, typename TObjectReference>
TObjectReference mpcl::net::corba::TOrb::enrol TObject *    ptOBJECT,
const TString &    rkyCOMPOUND_NAME
[inline]
 

Activates the servant object ptOBJECT in the Root POA using.

Parameters:
ptOBJECT  Servant object to activate.
rkyCOMPOUND_NAME  Compound name for registering in the COS Naming Service.
Returns:
A reference to the incarnated object.

Definition at line 144 of file orb.hh.

References mpcl::text::Split(), and mpcl::text::TString.

template<typename TObject, typename TObjectReference>
TObjectReference mpcl::net::corba::TOrb::enrol TObject *    ptOBJECT [inline]
 

Activates the servant object ptOBJECT in the Root POA using.

Parameters:
ptOBJECT  Servant object to activate.
Returns:
A reference to the incarnated object.

Definition at line 126 of file orb.hh.

template<typename TObject, typename TObjectReference>
TObjectReference mpcl::net::corba::TOrb::request const char *    pkcOBJECT_IDENTIFIER [inline]
 

Requests an object reference to the object identified by the string pkcOBJECT_IDENTIFIER. This identifier has the same format used in the CORBA member function CORBA::ORB::string_to_object(). This method is used usually in the client side.

Parameters:
pkcOBJECT_IDENTIFIER  Object identifier.
Returns:
A reference to the requested object.
See also:
CORBA::ORB::string_to_object().

Definition at line 239 of file orb.hh.

template<typename TObject, typename TObjectReference>
TObjectReference mpcl::net::corba::TOrb::request const TString &    rkyOBJECT_IDENTIFIER [inline]
 

Requests an object reference to the object identified by the string rkyOBJECT_IDENTIFIER. This identifier has the same format used in the CORBA member function CORBA::ORB::string_to_object(). This method is used usually in the client side.

Parameters:
rkyOBJECT_IDENTIFIER  Object identifier.
Returns:
A reference to the requested object.
See also:
CORBA::ORB::string_to_object().

Definition at line 222 of file orb.hh.

References mpcl::text::TString.

void mpcl::net::corba::TOrb::setColocated bool    gCOLOCATED [inline]
 

Sets colocation state.

Parameters:
gCOLOCATED  True if object must be colocated (both, client and server share the same address space).

Definition at line 251 of file orb.hh.


The documentation for this class was generated from the following files:
Generated on Mon Oct 13 02:35:25 2003 for MPCL by doxygen1.2.18