Serialized Form


Package anthill.antnet

Class anthill.antnet.UdpNid implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Read a UdpNid from a stream.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Write a UdpNid to a stream.


Package anthill.factory

Class anthill.factory.ConfigFormatException implements Serializable

Class anthill.factory.ConstructorException implements Serializable

Serialized Fields

target

java.lang.Throwable target
Target exception


Package anthill.storage

Class anthill.storage.CapacityException implements Serializable

Serialized Fields

capacity

long capacity
Capacity

requestedCapacity

long requestedCapacity
Requested capacity

remainingCapacity

long remainingCapacity
Remaining capacity

Class anthill.storage.StorageNotFoundException implements Serializable

Serialized Fields

target

java.lang.Throwable target
Target exception


Package anthill.util

Class anthill.util.Backtrack implements Serializable

Serialized Fields

backtrack

int[] backtrack
Array containing the back track information

size

int size
Number of elements contained in the array; could size < backtrack.length

Class anthill.util.KeyHash implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException
Marshals this KeyHash to the specified output stream.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Marshals this KeyHash to the specified output stream.

Class anthill.util.SHADigest implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException
Marshals this SHADigest to the specified input stream.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Marshals this SHADigest to the specified output stream.


Package freenetant

Class freenetant.FreenetAnt implements Serializable

Serialized Fields

rid

RequestId rid
The identifier of the request

requestor

NestId requestor
Originating nest of this ant

query

java.lang.String query
The query string associated with this ant

keyhash

KeyHash keyhash
The hash value of the keyword searched by this ant

backward

boolean backward
True if this ant is returning to the requestor nest

backtracking

boolean backtracking
True if we are backtracking because we reached a node already visited

aid

AntId aid
The identifier of this ant

resource

Resource resource
The resource found

copyProb

int copyProb
Copy Probability

fakeProb

int fakeProb
Fake Probability

history

History history
History objects containing the history of the actions performed by this ant

backtrack

Backtrack backtrack
Backtrack information

provider

NestId provider
NestId of provider of the resource used with the fake probability.


Package gnutant

Class gnutant.BackwardGnutant implements Serializable

Serialized Fields

provider

NestId provider
The provider of these resources; originator of this ant

keyhash

KeyHash keyhash
The hash value of the keyword searched by this ant

resources

Resource[] resources
Resources that we wish to put update the distributed index with

path

java.util.ArrayList path
Variable path contains the list of visited nodes, allowing the ant to avoid visiting the same nests multiple times.

Class gnutant.Gnutant implements Serializable

Serialized Fields

rid

RequestId rid
The identifier of the request

query

java.lang.String query
The query string associated with this ant

key

KeyHash key
The hash value of the keyword searched by this ant

requestor

NestId requestor
Originating nest of this ant

forward

boolean forward
Current ant state regarding movement

responseId

AntId responseId
The Ant identifier associated to the response ant

trailId

AntId trailId
The Ant identifier associated to the response ant

backtrack

Backtrack backtrack
Backtrack information

resources

java.util.HashSet resources
Resource to be returned

provider

NestId provider
First nests to provide new info FIXME currently just one

fakeProb

int fakeProb
This parameter represents the probability for the requestor identifier to be substituted with the current nest, in order to provide anonymity.

Class gnutant.Insant implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Describe readExternal method here.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Describe writeExternal method here.

Class gnutant.ReplyGnutant implements Serializable

Serialized Fields

rid

RequestId rid
The identifier of the request

resources

Resource[] resources
Resource to be returned to the requestor nest

requestor

NestId requestor
Identifier of the requestor nest

Class gnutant.ResponseGnutant implements Serializable

Serialized Fields

rid

RequestId rid
The identifier of the request

resources

Resource[] resources
Resource to be returned to the requestor nest

requestor

NestId requestor
Identifier of the requestor nest

responseId

AntId responseId
Ant identifier to be used to obtain information about the requestor nest

Class gnutant.SearchGnutant implements Serializable

Serialized Fields

path

java.util.ArrayList path
Variable path contains the list of visited nodes, allowing the ant to avoid visiting the same nests multiple times and backtrack to the originating nest.

rid

RequestId rid
The identifier of the request

query

java.lang.String query
The query string associated with this ant

keyhash

KeyHash keyhash
The hash value of the keyword searched by this ant

resources

java.util.HashSet resources
Resource to be returned

backtracks

int backtracks
Number of backtracks performed so far by this ant.

rsize

long rsize

Class gnutant.TrailGnutant implements Serializable

Serialized Fields

resources

Resource[] resources
Resource to be returned to the requestor nest

key

KeyHash key
The hash value of the keyword searched by this ant

provider

NestId provider

trailId

AntId trailId
Ant identifier to be used to obtain information about the requestor nest

Class gnutant.UrlResource implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException
Marshals this UrlResource to the specified output stream.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Marshals this UrlResource to the specified output stream.

Class gnutant.UrlResourceSet implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException
Marshals this UrlResourceSet to the specified output stream.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Marshals this UrlResourceSet to the specified output stream.


Package random

Class random.RandomAnt implements Serializable

Serialized Fields

rid

RequestId rid
The identifier of the request

aid

AntId aid
The identifier of this ant

query

java.lang.String query
The query associated to this ant

resource

Resource resource
The resource found

backtracking

boolean backtracking
True if this ant is returning to the previous nest because it has reached a node already visited.

forward

boolean forward
True if this ant is returning to the requestor nest