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

NamingHelper< T > Class Template Reference

List of all members.

Detailed Description

template<class T>
class NamingHelper< T >

Utility functions for using the CORBA Naming Service.

This class uses template functions outlined in Chapter 18 of "Advanced CORBA Programming with C++" by Michi Henning and Steve Vinoski.

Definition at line 39 of file NamingHelper_T.h.

Static Public Member Functions

T::_ptr_type resolve_init (CORBA::ORB_ptr orb, const char *id, size_t tries=1, ACE_Time_Value timeout=ACE_Time_Value::zero) throw ( CORBA::SystemException, CORBA::ORB::InvalidName )
 template function for resolve_initial_references()

T::_ptr_type resolve_name (CosNaming::NamingContext_ptr nc, const CosNaming::Name &name, size_t tries=1, ACE_Time_Value timeout=ACE_Time_Value::zero) throw ( CORBA::SystemException, CosNaming::NamingContext::NotFound, CosNaming::NamingContext::CannotProceed, CosNaming::NamingContext::InvalidName)
 template function for resolving a name in the CORBA Naming Service

void bind (CosNaming::NamingContext_ptr nc, const CosNaming::Name &n, CORBA::Object_ptr obj, size_t tries=1, ACE_Time_Value timeout=ACE_Time_Value::zero) throw ( CORBA::SystemException, CosNaming::NamingContext::NotFound, CosNaming::NamingContext::CannotProceed, CosNaming::NamingContext::InvalidName, CosNaming::NamingContext::AlreadyBound )
 template function for binding to the CORBA Naming Service, with tries and a timeout value

void rebind (CosNaming::NamingContext_ptr nc, const CosNaming::Name &n, CORBA::Object_ptr obj, size_t tries=1, ACE_Time_Value timeout=ACE_Time_Value::zero) throw ( CORBA::SystemException, CosNaming::NamingContext::NotFound, CosNaming::NamingContext::CannotProceed, CosNaming::NamingContext::InvalidName )
 template function for rebinding to the CORBA Naming Service, with tries and a timeout value


The documentation for this class was generated from the following file:
Generated on Mon Dec 1 16:30:37 2003 for CPU Broker by doxygen 1.3.4