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

Quick Search    Search Deep

Freenet.client
Class UnhashedInsertClient  view UnhashedInsertClient download UnhashedInsertClient.java

java.lang.Object
  extended byFreenet.client.UnhashedInsertClient

public class UnhashedInsertClient
extends java.lang.Object


Field Summary
 ClientNode cn
           
private  long hopsToLive
           
private  Freenet.ListeningAddress myAddress
           
private  Freenet.Address nodeAddress
           
private  long startDepth
           
 
Constructor Summary
UnhashedInsertClient(Freenet.Address addr, Freenet.ListeningAddress myAddr, long htl, long dpth)
           
 
Method Summary
 void getHandshake()
           
 void insert(Freenet.Key key, java.io.InputStream in, java.math.BigInteger length, Freenet.support.ByteCounter counter)
           
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

cn

public ClientNode cn
Constructor Detail

UnhashedInsertClient

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

main

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

getHandshake

public void getHandshake()
                  throws Freenet.BadHandshakeException

insert

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