Naanou.LookupService
Class BroadcastListener

BroadcastListener listens for broadcast Hellos from starting nodes on the network

Field Summary
string HELLO_MSG
         Hello message
string HELLO_REPLY_MSG
         Hello reply message
Naanou.Common.ILogger logger
Naanou.LookupService.Node node
System.Collections.ArrayList workers

Constructor Summary
BroadcastListener(Naanou.LookupService.Node node)
         Constructor

Property Summary
Naanou.Common.ILogger Logger
         Gets the logger to use
Naanou.LookupService.Node Node
         Gets the node this listener is linked too

Method Summary
void Start()
         Start workers
void Stop()
         Stops listening

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

HELLO_MSG

public string HELLO_MSG

Hello message


HELLO_REPLY_MSG

public string HELLO_REPLY_MSG

Hello reply message


logger

private Naanou.Common.ILogger logger


node

private Naanou.LookupService.Node node


workers

private System.Collections.ArrayList workers

Constructor Detail

BroadcastListener

public BroadcastListener(Naanou.LookupService.Node node)

Constructor

Parameters:
node - Node
Property Detail

Logger

internal Naanou.Common.ILogger Logger

Gets the logger to use


Node

internal Naanou.LookupService.Node Node

Gets the node this listener is linked too

Method Detail

Start

public void Start()

Start workers


Stop

public void Stop()

Stops listening