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

Quick Search    Search Deep

Freenet.client
Class InsertClient  view InsertClient download InsertClient.java

java.lang.Object
  extended byFreenet.client.InsertClient

public class InsertClient
extends java.lang.Object


Field Summary
 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
InsertClient(Freenet.Address addr, Freenet.ListeningAddress myAddr, long htl, long dpth)
           
 
Method Summary
 void insert(Freenet.Key key, java.io.InputStream in, java.lang.Long length, Freenet.support.ByteCounter counter)
           
private static void keyinform(java.lang.String key, java.lang.String index)
           
static void main(java.lang.String[] args)
           
 
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

errout

private static java.io.PrintStream errout
Constructor Detail

InsertClient

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

keyinform

private static final void keyinform(java.lang.String key,
                                    java.lang.String index)

main

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

insert

public void insert(Freenet.Key key,
                   java.io.InputStream in,
                   java.lang.Long length,
                   Freenet.support.ByteCounter counter)
            throws ClientException,
                   Freenet.SendFailedException,
                   Freenet.BadHandshakeException