Serialized Form
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.
target
java.lang.Throwable target
- Target exception
capacity
long capacity
- Capacity
requestedCapacity
long requestedCapacity
- Requested capacity
remainingCapacity
long remainingCapacity
- Remaining capacity
target
java.lang.Throwable target
- Target exception
backtrack
int[] backtrack
- Array containing the back track information
size
int size
- Number of elements contained in the array; could size < backtrack.length
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.
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.
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.
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.
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.
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.
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
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
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
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
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.
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.
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