#include <Naming_Client.h>
Public Member Functions | |
TAO_Naming_Client (void) | |
Default constructor. | |
int | init (CORBA::ORB_ptr orb, ACE_Time_Value *timeout=0) |
~TAO_Naming_Client (void) | |
Destructor. | |
CosNaming::NamingContext_ptr | operator-> (void) const |
Returns a pointer to the root Naming Context. | |
CosNaming::NamingContext_ptr | get_context (void) const |
Protected Attributes | |
CosNaming::NamingContext_var | naming_context_ |
Reference to the root Naming Context. |
Wrapper class that locates the root Naming Context. It also defines the operator-> so that <namingcontext> functions like <resolve>, etc. can be directly called on a <tao_naming_client> object, and will be forwarded to the root Naming Context.
|
Default constructor.
|
|
Destructor.
|
|
Returns a pointer to the root Naming Context. This ptr is duplicated via <_duplicate> so that it can be stored into a <*_var>. |
|
Look for a Naming Service for a period of <timeout> using <resolve_initial_references>. Return 0 if Naming Service is successfully located, and -1 on failure. |
|
Returns a pointer to the root Naming Context.
|
|
Reference to the root Naming Context.
|