#include <coherence/net/NameService.hpp>
Inherits Service.
Coherence*Extend) and provides a name lookup service.
Public Types | |
| typedef spec::Handle | Handle | 
| NameService Handle definition.  | |
| typedef spec::View | View | 
| NameService View definition.  | |
| typedef spec::Holder | Holder | 
| NameService Holder definition.  | |
Public Member Functions | |
| virtual void | bind (String::View vsName, Object::View o)=0 | 
| Binds a name to an object.   | |
| virtual Object::View | lookup (String::View vsName)=0 | 
| Retrieves the named object.   | |
| virtual void | unbind (String::View vsName)=0 | 
| Unbinds the named object.   | |
| virtual void bind | ( | String::View | vsName, | |
| Object::View | o | |||
| ) |  [pure virtual] | 
        
Binds a name to an object.
| vsName | the name to bind; may not be empty | |
| o | the object to bind; possibly null | 
| virtual Object::View lookup | ( | String::View | vsName | ) |  [pure virtual] | 
        
Retrieves the named object.
| vsName | the name of the object to look up | 
| NamingException | if a naming exception is encountered | 
| virtual void unbind | ( | String::View | vsName | ) |  [pure virtual] | 
        
Unbinds the named object.
| vsName | the name to bind; may not be empty |