Naanou.LookupService.WorkDispatch
Class FindSuccessorWorker

Finds the successor of a node

Field Summary
Naanou.LookupService.WorkDispatch.FindSuccessorState fsState
long queueTime

Constructor Summary
FindSuccessorWorker(Naanou.Common.Hash id, Naanou.LookupService.NodeAddress nodeToQuery, bool randomForward, Naanou.Common.FindSuccessorResult resultChain, Naanou.Common.FindSuccessorDelegate clientCallback, string requestSerial)
         Ctor

Method Summary
Naanou.LookupService.WorkDispatch.WorkState FindSuccessorRemote(Naanou.LookupService.WorkDispatch.FindSuccessorState fsState, Naanou.LookupService.NodeAddress remoteAddress, Naanou.LookupService.WorkDispatch.Dispatch dispatch)
Naanou.LookupService.NodeAddress GetRandomForwardDestination(Naanou.LookupService.WorkDispatch.Dispatch dispatch)
void IWorkItem.Queued()
void IWorkItem.Run(Naanou.Common.WorkPool pool)
void Run(Naanou.LookupService.WorkDispatch.Dispatch dispatch)

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


Field Detail

fsState

private Naanou.LookupService.WorkDispatch.FindSuccessorState fsState


queueTime

private long queueTime

Constructor Detail

FindSuccessorWorker

public FindSuccessorWorker(Naanou.Common.Hash id,
                           Naanou.LookupService.NodeAddress nodeToQuery,
                           bool randomForward,
                           Naanou.Common.FindSuccessorResult resultChain,
                           Naanou.Common.FindSuccessorDelegate clientCallback,
                           string requestSerial)

Ctor

Parameters:
id -
nodeToQuery -
randomForward -
resultChain -
clientCallback -
requestSerial -
Method Detail

FindSuccessorRemote

private Naanou.LookupService.WorkDispatch.WorkState FindSuccessorRemote(Naanou.LookupService.WorkDispatch.FindSuccessorState fsState,
                                                                 Naanou.LookupService.NodeAddress remoteAddress,
                                                                 Naanou.LookupService.WorkDispatch.Dispatch dispatch)


GetRandomForwardDestination

private Naanou.LookupService.NodeAddress GetRandomForwardDestination(Naanou.LookupService.WorkDispatch.Dispatch dispatch)


IWorkItem.Queued

private void IWorkItem.Queued()


IWorkItem.Run

private void IWorkItem.Run(Naanou.Common.WorkPool pool)


Run

internal void Run(Naanou.LookupService.WorkDispatch.Dispatch dispatch)