This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Network.Naming.INameServer Interface Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | Properties | List of all members
Org.Apache.REEF.Network.Naming.INameServer Interface Reference

Service that manages names and IPEndpoints for well known hosts. More...

Inherits IDisposable.

Inherited by Org.Apache.REEF.Network.Naming.NameServer.

Public Member Functions

List< NameAssignmentLookup (List< string > ids)
 Looks up the IPEndpoints for each string identifier More...
 
List< NameAssignmentGetAll ()
 Gets all of the registered identifier/endpoint pairs. More...
 
void Register (string id, IPEndPoint endpoint)
 Registers the string identifier with the given IPEndpoint More...
 
void Unregister (string id)
 Unregister the given identifier with the NameServer More...
 

Properties

IPEndPoint LocalEndpoint [get]
 Listening endpoint for the NameServer More...
 

Detailed Description

Service that manages names and IPEndpoints for well known hosts.

Can register, unregister, and look up IPAddresses using a string identifier.

Member Function Documentation

List<NameAssignment> Org.Apache.REEF.Network.Naming.INameServer.GetAll ( )

Gets all of the registered identifier/endpoint pairs.

Returns
A list of all of the registered identifiers and their mapped IPEndpoints

Implemented in Org.Apache.REEF.Network.Naming.NameServer.

List<NameAssignment> Org.Apache.REEF.Network.Naming.INameServer.Lookup ( List< string >  ids)

Looks up the IPEndpoints for each string identifier

Parameters
idsThe IDs to look up
Returns
A list of Name assignments representing the identifier that was searched for and the mapped IPEndpoint

Implemented in Org.Apache.REEF.Network.Naming.NameServer.

void Org.Apache.REEF.Network.Naming.INameServer.Register ( string  id,
IPEndPoint  endpoint 
)

Registers the string identifier with the given IPEndpoint

Parameters
idThe string ident
endpointThe mapped endpoint

Implemented in Org.Apache.REEF.Network.Naming.NameServer.

void Org.Apache.REEF.Network.Naming.INameServer.Unregister ( string  id)

Unregister the given identifier with the NameServer

Parameters
idThe identifier to unregister

Implemented in Org.Apache.REEF.Network.Naming.NameServer.

Property Documentation

IPEndPoint Org.Apache.REEF.Network.Naming.INameServer.LocalEndpoint
get

Listening endpoint for the NameServer


The documentation for this interface was generated from the following file: