${header}

net.jxta.impl.shell.bin.findpredecessor
Class findpredecessor

java.lang.Object
  extended bynet.jxta.impl.shell.ShellApp
      extended bynet.jxta.impl.shell.bin.findpredecessor.findpredecessor
All Implemented Interfaces:
net.jxta.platform.Application, ChordListener, DHTListener, net.jxta.platform.Module

public class findpredecessor
extends net.jxta.impl.shell.ShellApp
implements ChordListener

A shell command that allows a peer to find the predecessor of a particular node identifier

Author:
Vincent Matossian January 2004

Field Summary
 
Fields inherited from class net.jxta.impl.shell.ShellApp
appMiscError, appNoError, appParamError, appSpawned, consin, consout, dependsOn, group, id, implAdv, inputPipe, outputPipe, returnVar, started, stopped
 
Fields inherited from interface net.jxta.platform.Module
START_AGAIN_PROGRESS, START_AGAIN_STALLED, START_OK
 
Constructor Summary
findpredecessor()
           
 
Method Summary
 void help()
           
 void receivedDHTEntry(QueryMessage qm)
           
 void receivedFindPredecessorResponse(java.lang.String s)
           
 void receivedQuery(QueryMessage qm)
           
 void receivedStringMessage(QueryMessage q)
           
 void receivedSuccessor(QueryMessage qm)
           
 void shortHelp()
           
 int startApp(java.lang.String[] args)
           
 void stopApp()
           
 
Methods inherited from class net.jxta.impl.shell.ShellApp
consoleMessage, consoleMessage, consPollInput, consprint, consprintln, consWaitForInput, exec, exec, getCmdShortName, getCmdShortName, getDescription, getEnv, getGroup, getID, getImplAdvertisement, getInputConsPipe, getInputPipe, getOutputConsPipe, getOutputPipe, getReturnVariable, init, isRootShell, loadApp, pipePollInput, pipePrint, pipePrintln, pollInput, print, println, printStackTrace, printStackTrace, setEnv, setGroup, setID, setImplAdvertisement, setInputConsPipe, setInputPipe, setJoinedThread, setOutputConsPipe, setOutputPipe, setReturnVariable, waitForInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

findpredecessor

public findpredecessor()
Method Detail

startApp

public int startApp(java.lang.String[] args)
Specified by:
startApp in interface net.jxta.platform.Module

stopApp

public void stopApp()
Specified by:
stopApp in interface net.jxta.platform.Module

receivedDHTEntry

public void receivedDHTEntry(QueryMessage qm)
Specified by:
receivedDHTEntry in interface DHTListener

receivedQuery

public void receivedQuery(QueryMessage qm)
Specified by:
receivedQuery in interface DHTListener

receivedSuccessor

public void receivedSuccessor(QueryMessage qm)
Specified by:
receivedSuccessor in interface DHTListener

receivedFindPredecessorResponse

public void receivedFindPredecessorResponse(java.lang.String s)
Specified by:
receivedFindPredecessorResponse in interface ChordListener

receivedStringMessage

public void receivedStringMessage(QueryMessage q)
Specified by:
receivedStringMessage in interface ChordListener

shortHelp

public void shortHelp()

help

public void help()

${header}