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

Quick Search    Search Deep
A B C D E F G H I K L M N O P R S T W

A

Address - class Freenet.Address.
 
Address(String, ProtocolAddress) - Constructor for class Freenet.Address
 
Address(String) - Constructor for class Freenet.Address
 
accept() - Method in class Freenet.Listener
 
accept() - Method in class Freenet.tcpListener
 
acceptConnections() - Method in class Freenet.Core
 
addr - Variable in class Freenet.StandardHandshakeHandler.Waiter
 
address - Variable in class Freenet.Address
 
address - Variable in class Freenet.Listener
 
address - Variable in class Freenet.ListeningAddress
 
argVector - Variable in class Freenet.Params
 
asyncFeed(Callback) - Method in class Freenet.Conduit
Commences the transfer from Input to Output Streams asynchronously
asyncFeed(Callback, Callback, long) - Method in class Freenet.Conduit
Commences the transfer from Input to Output Stream asynchronously until a number of bytes have been transfered

B

BadHandshakeException - exception Freenet.BadHandshakeException.
 
BadHandshakeException() - Constructor for class Freenet.BadHandshakeException
 
buildNumber - Static variable in class Freenet.Core
 
bytesMoved - Variable in class Freenet.Conduit
 
bytesMoved() - Method in class Freenet.Conduit
 
bytesToMove - Variable in class Freenet.Conduit
 

C

Conduit - class Freenet.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.
Conduit(InputStream, OutputStream) - Constructor for class Freenet.Conduit
 
Conduit(InputStream, OutputStream, ByteCounter) - Constructor for class Freenet.Conduit
 
ConnectFailedException - exception Freenet.ConnectFailedException.
 
ConnectFailedException(Address) - Constructor for class Freenet.ConnectFailedException
 
ConnectTimedOutException - exception Freenet.ConnectTimedOutException.
 
ConnectTimedOutException() - Constructor for class Freenet.ConnectTimedOutException
 
Connection - class Freenet.Connection.
 
Connection() - Constructor for class Freenet.Connection
 
ConnectionFactory - class Freenet.ConnectionFactory.
 
ConnectionFactory() - Constructor for class Freenet.ConnectionFactory
 
ConnectionHandler - class Freenet.ConnectionHandler.
Handles both sending and receiving messages on a connection.
ConnectionHandler(Connection, MessageHandler) - Constructor for class Freenet.ConnectionHandler
 
ConnectionHandler.ConnectionCB - class Freenet.ConnectionHandler.ConnectionCB.
 
ConnectionHandler.ConnectionCB() - Constructor for class Freenet.ConnectionHandler.ConnectionCB
 
Core - class Freenet.Core.
This is a Wrapper object that contains the components of a Node in the Adaptive Network.
Core(ListeningAddress, MessageHandler, HandshakeHandler) - Constructor for class Freenet.Core
 
c - Variable in class Freenet.ConnectionHandler
 
callback() - Method in class Freenet.ConnectionHandler.ConnectionCB
 
callback() - Method in class Freenet.StandardHandshakeHandler.HandshakeWaiter
 
cb - Variable in class Freenet.Conduit
 
close() - Method in class Freenet.Connection
 
close() - Method in class Freenet.ConnectionHandler
 
close() - Method in class Freenet.Listener
 
close() - Method in class Freenet.tcpConnection
 
close() - Method in class Freenet.tcpListener
 
closed - Variable in class Freenet.ConnectionHandler
 
compare(Key, Key) - Method in interface Freenet.Key
Compares two other keys to this one to determine which is closer
connect(Address) - Static method in class Freenet.ConnectionFactory
 
connect(Address) - Method in class Freenet.Core
This is the raw connection maker, it will not handshake or check the status of the connection in any way.
connectTimeout - Static variable in class Freenet.Core
 
counter - Variable in class Freenet.Conduit
 
crlf - Static variable in class Freenet.RawMessage
 

D

dataLength - Static variable in class Freenet.Parameters
The maximum amount of data permitted in bytes
dataStoreSize - Static variable in class Freenet.Parameters
The total number of references/data permitted in the DataStore
debug - Static variable in class Freenet.Core
 
debug - Static variable in class Freenet.RawMessage
 
deleteField(String) - Method in class Freenet.RawMessage
 
depth - Variable in class Freenet.Message
The number number of hops this message is from its originating node
depth - Variable in class Freenet.MessageMemory
 

E

endfn - Static variable in class Freenet.RawMessage
 
equals(Object) - Method in class Freenet.Address
 
equals(Object) - Method in interface Freenet.Key
 
equals(Object) - Method in class Freenet.ProtocolAddress
 
equals(Object) - Method in class Freenet.tcpAddress
 
equalsHost(Object) - Method in class Freenet.Address
 
equalsHost(Object) - Method in class Freenet.ProtocolAddress
 
equalsHost(Object) - Method in class Freenet.tcpAddress
 

F

Freenet - package Freenet
 
fieldNames() - Method in class Freenet.RawMessage
 
fields - Variable in class Freenet.RawMessage
 
forceClose() - Method in class Freenet.ConnectionHandler
forces this connection to close.
freenetVersion - Static variable in class Freenet.Core
 

G

getArg(int) - Method in class Freenet.Params
 
getHandshake(Core, ConnectionHandler) - Method in interface Freenet.HandshakeHandler
 
getHandshake(Core, Address) - Method in interface Freenet.HandshakeHandler
 
getHandshake(Core, ConnectionHandler) - Method in class Freenet.StandardHandshakeHandler
Sends a handshake over a given connection.
getHandshake(Core, Address) - Method in class Freenet.StandardHandshakeHandler
 
getMyAddress(ListeningAddress) - Method in class Freenet.Connection
 
getMyAddress() - Method in class Freenet.Connection
 
getMyAddress(ListeningAddress) - Method in class Freenet.tcpConnection
 
getMyAddress() - Method in class Freenet.tcpConnection
 
getNumArgs() - Method in class Freenet.Params
 
getParam(String, String) - Method in class Freenet.Params
 
getParam(String) - Method in class Freenet.Params
 
getPeerAddress(ListeningAddress) - Method in class Freenet.Connection
 
getPeerAddress() - Method in class Freenet.Connection
 
getPeerAddress(ListeningAddress) - Method in class Freenet.tcpConnection
 
getPeerAddress() - Method in class Freenet.tcpConnection
 
getTrailing() - Method in class Freenet.RawMessage
 
getint(String, int) - Method in class Freenet.Params
 
getint(String) - Method in class Freenet.Params
 
getlong(String, long) - Method in class Freenet.Params
 
getlong(String) - Method in class Freenet.Params
 
getshort(String, short) - Method in class Freenet.Params
 
getshort(String) - Method in class Freenet.Params
 

H

Handshake - class Freenet.Handshake.
This is the abstract superclass of all handshakes
Handshake(long) - Constructor for class Freenet.Handshake
 
Handshake(RawMessage) - Constructor for class Freenet.Handshake
 
HandshakeFactory - class Freenet.HandshakeFactory.
HandshakeFactory.java This object takes a RawMessage and converts it to the appropriate subclass of the Handshake class depending on the handshake.
HandshakeFactory() - Constructor for class Freenet.HandshakeFactory
 
HandshakeHandler - interface Freenet.HandshakeHandler.
 
handle(Message) - Method in interface Freenet.MessageHandler
 
handshakeLife - Static variable in class Freenet.Core
 
handshakeTimeout - Static variable in class Freenet.Core
 
handshakes - Variable in class Freenet.StandardHandshakeHandler
 
hashCode() - Method in class Freenet.Address
 
hashCode() - Method in interface Freenet.Key
 
hextolong(String) - Method in class Freenet.Message
 
hh - Variable in class Freenet.Core
 
hopsToLive - Variable in class Freenet.Message
The number of times this message should be forwarded before generating a TimedOutMessage
host - Variable in class Freenet.tcpAddress
The IP address of the computer on which the client resides

I

InvalidMessageException - exception Freenet.InvalidMessageException.
 
InvalidMessageException(String) - Constructor for class Freenet.InvalidMessageException
 
icb - Variable in class Freenet.Conduit
 
id - Variable in class Freenet.ConnectionHandler
 
id - Variable in class Freenet.Message
A randomly generated unique ID used to identify related messages
ids - Static variable in class Freenet.ConnectionHandler
 
in - Variable in class Freenet.Conduit
 
in - Variable in class Freenet.Connection
 
initSources(Address, Address, ConnectionHandler) - Method in class Freenet.Message
Called by the connection handler after right constructing the message, while still in touch with the connection
isKeepAlive() - Method in class Freenet.RawMessage
 
isOpen() - Method in class Freenet.ConnectionHandler
Checks whether the connection is alive
isOption(String) - Method in class Freenet.Params
 

K

Key - interface Freenet.Key.
A generic interface to a key
KeyException - exception Freenet.KeyException.
 
KeyException(String) - Constructor for class Freenet.KeyException
 
keepAlive - Variable in class Freenet.Message
Whether the connection should be kept open after sending this

L

Listener - class Freenet.Listener.
 
Listener() - Constructor for class Freenet.Listener
 
ListenerFactory - class Freenet.ListenerFactory.
 
ListenerFactory() - Constructor for class Freenet.ListenerFactory
 
ListeningAddress - class Freenet.ListeningAddress.
 
ListeningAddress(String, ProtocolListeningAddress) - Constructor for class Freenet.ListeningAddress
 
ListeningAddress(String) - Constructor for class Freenet.ListeningAddress
 
lessThan(Key) - Method in interface Freenet.Key
 
listen - Variable in class Freenet.Core
 
listen(String) - Static method in class Freenet.ListenerFactory
 
listen(ListeningAddress) - Static method in class Freenet.ListenerFactory
 
listenPart() - Method in class Freenet.Address
 
listenPart() - Method in class Freenet.ProtocolAddress
 
listenPart() - Method in class Freenet.tcpAddress
 
listener - Variable in class Freenet.Core
 
local() - Method in class Freenet.ConnectionHandler
 
local(ListeningAddress) - Method in class Freenet.ConnectionHandler
 
lost(Long) - Method in class Freenet.MessageMemory
A method called if this messagememory is lost from the datastore due to overflow

M

Message - class Freenet.Message.
This is the abstract superclass of all messages
Message(long, long, long) - Constructor for class Freenet.Message
 
Message(RawMessage) - Constructor for class Freenet.Message
 
MessageFactory - class Freenet.MessageFactory.
MessageFactory.java This object takes a RawMessage and converts it to the appropriate subclass of the Message class depending on the message.
MessageFactory() - Constructor for class Freenet.MessageFactory
 
MessageHandler - interface Freenet.MessageHandler.
 
MessageMemory - class Freenet.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.
MessageMemory(Address, long) - Constructor for class Freenet.MessageMemory
 
MessageMemory(Address, long, ConnectionHandler) - Constructor for class Freenet.MessageMemory
 
main(String[]) - Static method in class Freenet.Params
 
main(String[]) - Static method in class Freenet.RawMessage
Test method
makeArray(String) - Static method in class Freenet.Params.ArrayFactory
 
makeConnection(Address) - Method in class Freenet.Core
Makes a connection from this Node to another
me - Variable in class Freenet.StandardHandshakeHandler.HandshakeWaiter
 
messageName - Static variable in class Freenet.Message
 
messageObjects - Static variable in class Freenet.Parameters
The number of message objects that can be stored
messageType - Variable in class Freenet.RawMessage
The type of the message
mh - Variable in class Freenet.ConnectionHandler
 
mh - Variable in class Freenet.Core
 
myAddress - Variable in class Freenet.Core
 

N

noMoreOptions - Variable in class Freenet.Params
 

O

origRec - Variable in class Freenet.MessageMemory
The address that the original message was received from
otherFields - Variable in class Freenet.Message
Any unknown / unused fields
out - Variable in class Freenet.Conduit
 
out - Variable in class Freenet.Connection
 

P

Parameters - class Freenet.Parameters.
This class holds all static parameters within FreeNet
Parameters() - Constructor for class Freenet.Parameters
 
Params - class Freenet.Params.
Stores Freenet parameters
Params() - Constructor for class Freenet.Params
 
Params(String) - Constructor for class Freenet.Params
 
Params(String[]) - Constructor for class Freenet.Params
 
Params(String, String[]) - Constructor for class Freenet.Params
 
Params(String[], String[]) - Constructor for class Freenet.Params
Read in Freenet parameters Really, this is kind of a hack and needs proper semantic option handling to distinguish between those that take values and those that don't.
Params.ArrayFactory - class Freenet.Params.ArrayFactory.
Hack to make an array on the fly
Params.ArrayFactory() - Constructor for class Freenet.Params.ArrayFactory
 
ProtocolAddress - class Freenet.ProtocolAddress.
ProtocolAddress.java A class representing the address of an Adaptive Network client in the network
ProtocolAddress() - Constructor for class Freenet.ProtocolAddress
 
ProtocolListeningAddress - class Freenet.ProtocolListeningAddress.
ProtocolListeningAddress.java A class representing the address of an Adaptive Network client in the network
ProtocolListeningAddress() - Constructor for class Freenet.ProtocolListeningAddress
 
pReceived(Node, MessageMemory) - Method in class Freenet.Message
An overridable version of the received message.
params - Static variable in class Freenet.Core
 
params - Variable in class Freenet.Params
 
parent - Variable in class Freenet.tcpConnection.ConnectThread
 
peer - Variable in class Freenet.ConnectFailedException
 
peer() - Method in class Freenet.ConnectionHandler
 
peer(ListeningAddress) - Method in class Freenet.ConnectionHandler
 
peer - Variable in class Freenet.SendFailedException
 
pongs - Variable in class Freenet.ConnectionHandler
 
popField(String) - Method in class Freenet.Message
 
port - Static variable in class Freenet.Parameters
The port that is listened to for incoming connections
port - Variable in class Freenet.tcpAddress
The port number that the client is listening to
port - Variable in class Freenet.tcpListener
 
port - Variable in class Freenet.tcpListeningAddress
The port number that the client is listening to
props - Variable in class Freenet.Params
 
protocol - Variable in class Freenet.Address
 
protocol - Variable in class Freenet.ListeningAddress
 
protocolVersion - Static variable in class Freenet.Core
 

R

RawMessage - class Freenet.RawMessage.
 
RawMessage(InputStream) - Constructor for class Freenet.RawMessage
 
RawMessage(String) - Constructor for class Freenet.RawMessage
 
readField(String) - Method in class Freenet.RawMessage
 
readParams(String) - Method in class Freenet.Params
 
readTo(PushbackInputStream, char[]) - Method in class Freenet.RawMessage
Will return String from InputStream until one of the characters in tms is about to be read.
received(Node, MessageMemory) - Method in class Freenet.Message
Called by a node after this message is received.
receivedAt - Variable in class Freenet.Message
Address of this node on the network that this message came from
receivedWith - Variable in class Freenet.Message
ConnectionHandler that accepted that received message
remCRLF(PushbackInputStream) - Method in class Freenet.RawMessage
Removes any CRLFs from the part of the stream to be read next
replyCon - Variable in class Freenet.MessageMemory
 
run() - Method in class Freenet.Conduit
 
run() - Method in class Freenet.ConnectionHandler
 
run() - Method in class Freenet.tcpConnection.ConnectThread
 

S

SendFailedException - exception Freenet.SendFailedException.
 
SendFailedException(Address) - Constructor for class Freenet.SendFailedException
 
StandardHandshakeHandler - class Freenet.StandardHandshakeHandler.
 
StandardHandshakeHandler() - Constructor for class Freenet.StandardHandshakeHandler
 
StandardHandshakeHandler.HandshakeWaiter - class Freenet.StandardHandshakeHandler.HandshakeWaiter.
 
StandardHandshakeHandler.HandshakeWaiter(Thread) - Constructor for class Freenet.StandardHandshakeHandler.HandshakeWaiter
 
StandardHandshakeHandler.Waiter - class Freenet.StandardHandshakeHandler.Waiter.
 
StandardHandshakeHandler.Waiter(Address) - Constructor for class Freenet.StandardHandshakeHandler.Waiter
 
savedOption - Variable in class Freenet.Params
 
sendBack(Node, MessageMemory) - Method in class Freenet.Message
Sends this message back to the node from which the chain was originally received.
sendMessage(Message) - Method in class Freenet.ConnectionHandler
Sends a message using this connection
sendMessage(Message, SplitOutputStream, ByteCounter) - Method in class Freenet.ConnectionHandler
Sends a message using this connection
sendMessage(Message, Address) - Method in class Freenet.Core
Send the message using the appropriate protocol
sendMessage(Message, Address, SplitOutputStream) - Method in class Freenet.Core
Send the message using the appropriate protocol streaming the actual data through the SplitOutputStream tunnel
sendMessage(Message, Address, SplitOutputStream, ByteCounter) - Method in class Freenet.Core
Send the message using the appropriate protocol, streaming the actual data through the SplitOutputStream tunnel, and counting the bytes sent with ByteCounter.
sendReply(Node, Message) - Method in class Freenet.Message
Sends a message back to the node from which this message was received.
sending(Core, ConnectionHandler) - Method in class Freenet.Message
 
sending(Core, Address, Address) - Method in class Freenet.Message
Called just before the message is sent, and makes any last minute changes.
serverRevision - Static variable in class Freenet.Core
 
setField(String, String) - Method in class Freenet.RawMessage
 
setHandshake(long) - Method in interface Freenet.HandshakeHandler
 
setHandshake(long) - Method in class Freenet.StandardHandshakeHandler
 
setParam(String, String) - Method in class Freenet.Params
 
setSoTimeout(int) - Method in class Freenet.Connection
 
setSoTimeout(int) - Method in class Freenet.tcpConnection
 
setTimeout(int) - Method in class Freenet.Listener
 
setTimeout(int) - Method in class Freenet.tcpListener
 
sock - Variable in class Freenet.tcpConnection
 
sock - Variable in class Freenet.tcpListener
 
source - Variable in class Freenet.Message
The Address of the node where this message originated
syncFeed() - Method in class Freenet.Conduit
Transfer from Input to Output Streams, doesn't return until transfer complete

T

Template - class Freenet.Template.
Description of class
Template() - Constructor for class Freenet.Template
 
tcpAddress - class Freenet.tcpAddress.
A class representing the address of an Adaptive Network client in the network which uses the TCP/IP protocol.
tcpAddress(InetAddress, int) - Constructor for class Freenet.tcpAddress
 
tcpAddress(String, int) - Constructor for class Freenet.tcpAddress
 
tcpAddress(String) - Constructor for class Freenet.tcpAddress
Creates an address from a string in the format "a.b.c.d:p"
tcpConnection - class Freenet.tcpConnection.
 
tcpConnection(tcpAddress) - Constructor for class Freenet.tcpConnection
 
tcpConnection(Socket) - Constructor for class Freenet.tcpConnection
 
tcpConnection.ConnectThread - class Freenet.tcpConnection.ConnectThread.
 
tcpConnection.ConnectThread(tcpAddress, Thread) - Constructor for class Freenet.tcpConnection.ConnectThread
 
tcpListener - class Freenet.tcpListener.
 
tcpListener(tcpListeningAddress) - Constructor for class Freenet.tcpListener
 
tcpListeningAddress - class Freenet.tcpListeningAddress.
 
tcpListeningAddress(int) - Constructor for class Freenet.tcpListeningAddress
 
tcpListeningAddress(String) - Constructor for class Freenet.tcpListeningAddress
 
tcpaddr - Variable in class Freenet.tcpConnection.ConnectThread
 
testEOF(PushbackInputStream) - Method in class Freenet.RawMessage
Checks non-destructively whether we have received an EOF
timeOut(Node, MessageMemory) - Method in class Freenet.Message
 
timePerHop - Static variable in class Freenet.Core
 
timedout() - Method in class Freenet.tcpConnection.ConnectThread
 
timer - Static variable in class Freenet.Core
 
toHandshake(RawMessage) - Static method in class Freenet.HandshakeFactory
 
toInputStream() - Method in class Freenet.RawMessage
 
toMessage(RawMessage) - Static method in class Freenet.MessageFactory
 
toRawMessage() - Method in class Freenet.Message
 
toString() - Method in class Freenet.Address
 
toString() - Method in class Freenet.ListeningAddress
 
toString() - Method in class Freenet.Message
 
toString() - Method in class Freenet.MessageMemory
 
toString() - Method in class Freenet.ProtocolAddress
 
toString() - Method in class Freenet.RawMessage
 
toString() - Method in class Freenet.tcpAddress
 
toString() - Method in class Freenet.tcpConnection
 
toString() - Method in class Freenet.tcpListener
 
trailingFieldLength - Variable in class Freenet.RawMessage
 
trailingFieldLength() - Method in class Freenet.RawMessage
 
trailingFieldName - Variable in class Freenet.RawMessage
 
trailingFieldStream - Variable in class Freenet.RawMessage
 
tunneling - Static variable in class Freenet.Core
 

W

waiters - Variable in class Freenet.StandardHandshakeHandler
 
waiting - Variable in class Freenet.ConnectionHandler
 
writeMessage(OutputStream) - Method in class Freenet.RawMessage
 
writeParams(String) - Method in class Freenet.Params
 
writeTrailing(OutputStream) - Method in class Freenet.RawMessage
 

A B C D E F G H I K L M N O P R S T W