Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Freenet.client
Class RequestClient  view RequestClient download RequestClient.java

java.lang.Object
  extended byFreenet.client.RequestClient

public class RequestClient
extends java.lang.Object


Field Summary
 Freenet.ConnectionHandler ch
           
 boolean closeOnExit
           
 ClientCore cn
           
private static long defaultHopsToLive
           
private static int defaultListenPort
           
private static int defaultLogging
           
private static java.lang.String defaultServerAddress
           
private static int defaultVerbosity
           
private static java.io.PrintStream errout
           
private  long hopsToLive
           
private  Freenet.ListeningAddress myAddress
           
private  Freenet.Address nodeAddress
           
private  long startDepth
           
 
Constructor Summary
RequestClient(Freenet.Address addr, Freenet.ListeningAddress myAddr, long htl, long dpth)
           
 
Method Summary
static void main(java.lang.String[] args)
           
private static void readKeys(java.lang.String index)
           
 Freenet.message.DataReply request(Freenet.Key key)
           
 void setCloseOnExit(boolean closeOnExit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeAddress

private Freenet.Address nodeAddress

myAddress

private Freenet.ListeningAddress myAddress

hopsToLive

private long hopsToLive

startDepth

private long startDepth

defaultListenPort

private static int defaultListenPort

defaultServerAddress

private static java.lang.String defaultServerAddress

defaultHopsToLive

private static long defaultHopsToLive

defaultLogging

private static int defaultLogging

defaultVerbosity

private static int defaultVerbosity

cn

public ClientCore cn

ch

public Freenet.ConnectionHandler ch

closeOnExit

public boolean closeOnExit

errout

private static java.io.PrintStream errout
Constructor Detail

RequestClient

public RequestClient(Freenet.Address addr,
                     Freenet.ListeningAddress myAddr,
                     long htl,
                     long dpth)
Method Detail

main

public static void main(java.lang.String[] args)

readKeys

private static final void readKeys(java.lang.String index)
                            throws java.lang.Exception

request

public Freenet.message.DataReply request(Freenet.Key key)
                                  throws ClientException,
                                         Freenet.SendFailedException,
                                         Freenet.BadHandshakeException

setCloseOnExit

public void setCloseOnExit(boolean closeOnExit)