44 #define Naming TNaming::getInstance() 46 class TCriticalSection;
65 static Retval createNewInstance(
TNaming*& rpObject);
67 Retval connect(
const TString& rAddress, Uint uiPort);
70 void setDelegationInterface(
INaming* pIface);
73 virtual bool MQUALIFIER hasRemoteContext()
const;
92 void createLocalContext();
93 bool checkAndCreateLocalContext();
135 inline bool TNaming::checkAndCreateLocalContext()
137 if (m_ptrLocalContext == NULL)
139 createLocalContext();
141 return (m_ptrLocalContext != NULL);
150 bool bRetval =
false;
151 if (m_ptrDelegationInterface != NULL)
153 bRetval = m_ptrDelegationInterface->hasRemoteContext();
157 bRetval = (m_ptrRemoteContext != NULL);
168 bool bRetval =
false;
169 if (m_ptrDelegationInterface != NULL)
171 bRetval = m_ptrDelegationInterface->isConnected();
#define IRemoteObjectList
Definition: IRemoteObject.hpp:43
Definition: INamedContext.hpp:51
Definition: XMLStream.h:49
Definition: IRemoteObject.hpp:52
Definition: CriticalSection.h:52
Definition: AutoPtr.hpp:274
Definition: INaming.hpp:48
#define MEMORY_MANAGER_DECL
Definition: IZUnknownImplHelper.hpp:44
Definition: IString.hpp:48