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

Quick Search    Search Deep

Freenet.node
Class Node  view Node download Node.java

java.lang.Object
  extended byFreenet.Core
      extended byFreenet.node.Node

public class Node
extends Freenet.Core

This is a Wrapper object that contains the components of a Node in the Adaptive Network. It uses a Network object to communicate with other Nodes in the Network.


Field Summary
(package private) static java.lang.String BUILD
           
 DataStore ds
           
static Node n
           
 
Fields inherited from class Freenet.Core
buildNumber, connectTimeout, debug, freenetVersion, handshakeLife, handshakeTimeout, hh, listen, listener, mh, myAddress, params, protocolVersion, serverRevision, timePerHop, timer, tunneling
 
Constructor Summary
Node(long dataLen, int dataStoreSz, int messStoreSz, Freenet.ListeningAddress lstaddr)
           
 
Method Summary
private static void inform(java.util.Hashtable at)
           
private static void informRead(java.net.HttpURLConnection c, java.util.Hashtable at)
           
private static void informWrite(java.net.HttpURLConnection c)
           
static void main(java.lang.String[] args)
           
static void usage()
          Print usage information
static void version()
          Print version information
 
Methods inherited from class Freenet.Core
acceptConnections, connect, makeConnection, sendMessage, sendMessage, sendMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

n

public static Node n

BUILD

static final java.lang.String BUILD
See Also:
Constant Field Values

ds

public DataStore ds
Constructor Detail

Node

public Node(long dataLen,
            int dataStoreSz,
            int messStoreSz,
            Freenet.ListeningAddress lstaddr)
Method Detail

main

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

informWrite

private static final void informWrite(java.net.HttpURLConnection c)
                               throws java.io.IOException

informRead

private static final void informRead(java.net.HttpURLConnection c,
                                     java.util.Hashtable at)
                              throws java.io.IOException

inform

private static final void inform(java.util.Hashtable at)

version

public static void version()
Print version information


usage

public static void usage()
Print usage information