Interface INameService
This INameService interface represents a service that accepts connections from external clients(e.g. Coherence*Extend) and provides a name lookup service.
Inherited Members
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
public interface INameService : IService, IService, IControllable
Methods
Bind(string, object)
Binds a name to an object.
Declaration
void Bind(string name, object o)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to bind; may not be empty. |
object | o | The object to bind; possibly null. |
Lookup(string)
Retrieves the named object.
Declaration
object Lookup(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the object to look up. |
Returns
Type | Description |
---|---|
object | The object bound to name. |
Unbind(string)
Unbinds the named object.
Declaration
void Unbind(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the object to unbind. |