Home >> All |
| Freenet.client.* (12) | | Freenet.contrib.* (3) | | Freenet.contrib.fproxy.* (3) |
| Freenet.crypt.* (1) | | Freenet.message.* (17) | | Freenet.node.* (6) |
| Freenet.support.* (13) |
Freenet: Javadoc index of package Freenet.
Package Samples:
Freenet.client
Freenet.contrib.fproxy
Freenet.message
Freenet.crypt
Freenet.node
Freenet.support
Classes:
ProxyServer: The main ProxyServer class. It listens for incoming HTTP connections on -listenPort (default 80), extracts the Freenet key, and issues a proxy request on the web client's behalf to the Freenet node at -serverAddress (default tcp/localhost:19114). The reply is streamed directly over the HTTP connection back to the web client, with the appropriate MIME type (currently, always text/plain). Any errors are also reported to the web client.
RequestFailed: This message is sent by a node which cannot locate a piece of data. If received by a node, it should either forward it back to whichever node sent the request to it, or should send another request to find the data.
Conduit: This class creates a conduit between an InputStream and an OutputStream and when the feed method of this object is called the InputStream will be fed into the output stream of this object.
CyclicArray: This class represents an array which is of finite length and can have information added to it in such a way that if the array fills to capacity, the last information added will be deleted.
Data: This class is used to store data. The object creates a file on disk in a (statically specified) directory to store the data in. In general the data is accessed using streams.
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.
Node: 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.
LimitedBinaryTree: This class represents a binary tree of limited size which uses integers as keys. If the tree is full and a new value is added, then the oldest value is removed.
HandshakeFactory: HandshakeFactory.java This object takes a RawMessage and converts it to the appropriate subclass of the Handshake class depending on the handshake.
LimitedHashtable: A variant on a Hashtable which only holds a limited number of messages. When more messages than that are put in, old ones are deleted, oldest first.
MessageMemory: This class stores relevant information about a message so that if another message is received with the same ID the node will know how to handle it.
MessageFactory: MessageFactory.java This object takes a RawMessage and converts it to the appropriate subclass of the Message class depending on the message.
DataNotReadyException: Thrown if an attempt is made to access a data item before it is ready (nescessary as Data items can be initialised concurrently)
SHA1: This is a simple port of Steve Reid's SHA-1 code into Java. I've run his test vectors through the code and they all pass.
Echo: This implements a simple echo message which will pass through several nodes, and then pass back through them again.
tcpAddress: A class representing the address of an Adaptive Network client in the network which uses the TCP/IP protocol.
ProtocolListeningAddress: ProtocolListeningAddress.java A class representing the address of an Adaptive Network client in the network
ProtocolAddress: ProtocolAddress.java A class representing the address of an Adaptive Network client in the network
RequestMM: This is the MessageMemory pertaining to a DataRequest/DataReply/ RequestFailed series of messages.
DataCB: A callback which will set the readyToRead field when the object is properly initiated.
KeyedMM: This is the MessageMemory pertaining to messages that need to remember the keys used.
Ticker: This class allows a callback to be called after a specified amount of time.
HttpHandler: Thread to handle incoming HTTP connections for the ProxyServer
ProxyClient: Wrapper to send Freenet requests on behalf of the HttpHandler
ConnectionHandler: Handles both sending and receiving messages on a connection.
Home | Contact Us | Privacy Policy | Terms of Service |