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

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

Inherits Org.Apache.REEF.Network.Naming.INameServer.

Classes

class  Port
 

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...
 
void Dispose ()
 Stops the NameServer More...
 

Properties

IPEndPoint LocalEndpoint [get]
 
- Properties inherited from Org.Apache.REEF.Network.Naming.INameServer
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

void Org.Apache.REEF.Network.Naming.NameServer.Dispose ( )
inline

Stops the NameServer

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

Gets all of the registered identifier/endpoint pairs.

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

Implements Org.Apache.REEF.Network.Naming.INameServer.

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

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

Implements Org.Apache.REEF.Network.Naming.INameServer.

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

Registers the string identifier with the given IPEndpoint

Parameters
idThe string ident
endpointThe mapped endpoint

Implements Org.Apache.REEF.Network.Naming.INameServer.

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

Unregister the given identifier with the NameServer

Parameters
idThe identifier to unregister

Implements Org.Apache.REEF.Network.Naming.INameServer.

Property Documentation

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

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