Serialized Form
id
int id
- The id of this subscribe message
address
java.net.InetSocketAddress address
content
rice.p2p.scribe.ScribeContent content
- the content of this message
visited
java.util.Vector visited
- the list of nodes which we have visited
toVisit
java.util.LinkedList toVisit
- the list of nodes which we are going to visit
fromNode
rice.pastry.NodeHandle fromNode
theLeafSet
rice.pastry.leafset.LeafSet theLeafSet
theType
int theType
fromNode
rice.pastry.NodeHandle fromNode
row
rice.pastry.routing.RouteSet[] row
content
rice.p2p.past.PastContent content
myId
rice.p2p.commonapi.Id myId
storageNode
rice.p2p.commonapi.NodeHandle storageNode
myId
rice.p2p.commonapi.Id myId
response
java.lang.Object response
exception
java.lang.Exception exception
num
int num
source
rice.pastry.NodeId source
destination
rice.pastry.NodeId destination
o
java.lang.Object o
remoteNode
rice.pastry.PastryNode remoteNode
simulator
rice.pastry.direct.NetworkSimulator simulator
readObject
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Overridden in order to restore default values for all of the
variables concerning node distance, status, etc...
nodeId
rice.pastry.NodeId nodeId
address
java.net.InetSocketAddress address
id
rice.p2p.commonapi.Id id
handle
rice.p2p.past.PastContentHandle handle
cached
boolean cached
objectKey
rice.pastry.Id objectKey
address
java.net.InetSocketAddress address
nodeId
rice.pastry.NodeId nodeId
dest
rice.pastry.NodeId dest
address
java.net.InetSocketAddress address
nodeId
rice.pastry.NodeId nodeId
dest
rice.pastry.NodeId dest
Id
int[] Id
difference
int[] difference
empty
boolean empty
ccw
rice.pastry.Id ccw
cw
rice.pastry.Id cw
idSet
java.util.TreeSet idSet
cachedHash
rice.pastry.Id cachedHash
validHash
boolean validHash
handle
rice.pastry.NodeHandle handle
content
rice.p2p.past.PastContent content
objectKey
rice.pastry.Id objectKey
object
java.lang.Object object
- The object that needs to be inserted.
objectKey
rice.pastry.Id objectKey
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException,
java.lang.ClassNotFoundException
handle
rice.pastry.NodeHandle handle
joinHandle
rice.pastry.NodeHandle joinHandle
rowCount
int rowCount
rows
rice.pastry.routing.RouteSet[][] rows
leafSet
rice.pastry.leafset.LeafSet leafSet
baseId
rice.pastry.NodeId baseId
baseHandle
rice.pastry.NodeHandle baseHandle
cwSet
rice.pastry.leafset.SimilarSet cwSet
ccwSet
rice.pastry.leafset.SimilarSet ccwSet
theSize
int theSize
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException,
java.lang.ClassNotFoundException
leafset
rice.pastry.leafset.LeafSet leafset
id
rice.pastry.NodeId id
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Called on deserialization. Adds itself to a pending-setLocalNode
list. This list is in a static (global) hash, indexed by the
ObjectInputStream. Refer to README.handles_localnode for details.
id
rice.p2p.commonapi.Id id
max
int max
id
rice.p2p.commonapi.Id id
cached
boolean cached
handle
rice.p2p.commonapi.NodeHandle handle
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
destination
rice.pastry.messaging.Address destination
senderId
rice.pastry.NodeId senderId
priority
boolean priority
send_to
java.util.Vector send_to
- Holds the list of NodeHandles to send to (used for DFS)
already_seen
java.util.Vector already_seen
- Holds the list of NodeHandles already examined (used for DFS)
c
rice.pastry.security.Credentials c
- Credentials
_exists
boolean _exists
- Deprecated.
- Content to be returned
_content
java.io.Serializable _content
- Deprecated.
- Content to be returned
_file
java.io.Serializable _file
- Deprecated.
- The file to insert.
_success
boolean _success
- Deprecated.
- Whether the insert was successful (on a response).
_content
java.io.Serializable _content
- Deprecated.
- Content to be returned
_success
boolean _success
- Deprecated.
- Whether the reclaim request was successful
scribe
rice.scribe.Scribe scribe
pending
rice.pastry.multiring.MultiRingAppl.PendingMessages pending
cache
rice.pastry.multiring.MultiRingAppl.RouteCache cache
credentials
rice.pastry.security.Credentials credentials
- The credentials of this appl.
_code
int _code
- Code representing address.
_code
int _code
ringId
rice.pastry.multiring.RingNodeId ringId
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Called on deserialization. Adds itself to a pending-setLocalNode
list. This list is in a static (global) hash, indexed by the
ObjectInputStream. Refer to README.handles_localnode for details.
nid
rice.pastry.NodeId nid
set
java.util.Vector set
id
int id
source
rice.p2p.commonapi.NodeHandle source
dest
rice.p2p.commonapi.Id dest
isResponse
boolean isResponse
_messageID
rice.past.messaging.PASTMessageID _messageID
- Deprecated.
- A key for uniquely identifying the message.
_messageType
int _messageType
- Deprecated.
- Whether this is a request or a response.
_fileId
rice.p2p.commonapi.Id _fileId
- Deprecated.
- The fileId of the file, to be used as destination.
_senderId
rice.p2p.commonapi.Id _senderId
- Deprecated.
- The id of the sender
_idCode
java.lang.Long _idCode
- Deprecated.
- Internally, the ID is represented by a
Long.
id
rice.p2p.commonapi.Id id
existing
rice.p2p.past.PastContent existing
handle
rice.p2p.commonapi.NodeHandle handle
id
rice.p2p.commonapi.Id id
id
rice.p2p.commonapi.Id id
nextHop
rice.p2p.commonapi.NodeHandle nextHop
message
rice.p2p.commonapi.Message message
version
int version
message
rice.p2p.commonapi.Message message
myCode
int myCode
writeObject
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
source
rice.pastry.NodeId source
target
rice.pastry.NodeId target
nHops
int nHops
fDistance
double fDistance
content
rice.p2p.scribe.ScribeContent content
content
rice.p2p.scribe.ScribeContent content
objectKey
rice.pastry.Id objectKey
objectKey
rice.pastry.Id objectKey
replicaSet
rice.pastry.NodeSet replicaSet
objectKey
rice.pastry.Id objectKey
objectKey
rice.pastry.Id objectKey
handle
rice.pastry.NodeHandle handle
handle
rice.pastry.NodeHandle handle
row
int row
message
rice.pastry.routing.RouteMessage message
ringId
int[] ringId
ringId
rice.pastry.multiring.RingId ringId
ringId
rice.pastry.multiring.RingId ringId
source
rice.pastry.NodeHandle source
ringId
rice.pastry.multiring.RingId ringId
ringId
rice.pastry.multiring.RingId ringId
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException,
java.lang.ClassNotFoundException
remoteNode
rice.pastry.rmi.RMIRemoteNodeI remoteNode
_authorCred
rice.pastry.security.Credentials _authorCred
- The credentials of the author for the object contained in this object
_source
rice.pastry.NodeHandle _source
- The ID of the source of this message.
Should be serializable.
_seqno
int _seqno
- for debugging purposes only
reqRange
rice.pastry.IdRange reqRange
hashEnabled
boolean hashEnabled
keySet
rice.pastry.IdSet keySet
hash
rice.pastry.Id hash
numKeys
int numKeys
range
rice.pastry.IdRange range
- This range is got by the intersection of the reqRange
and the responsible range on the responder side.
rangeSet
java.util.Vector rangeSet
- The list of ranges whose corresponding key sets the issuer of this
message is interested in.
eventId
int eventId
- This is to handle the loss of this type of messages.
(The other kind of messages do not require a Timeout mechanism,
hence they do not have this field).
Specifically, if a Timeout occurred for a RMRequestKeysMsg, then the
subsequent RMRequestKeysMsg that will be resent will have the SAME
eventId but an INCREASED value of seqNo. Also the RMResponseKeysMsg
sent in response to this message will have the SAME eventId.
attempt
int attempt
- In the Timeout mechanism upto MAXATTEMPTS will be made.
This represents the number of attempts made so far.
rangeSet
java.util.Vector rangeSet
- The list of ranges whose corresponding key sets the issuer of its
corresponding RMRequestKeysMsg message was interested in, except with
the difference that the ranges in this list are a result of the
intersection of the ranges requested for and 'myRange' of the responder.
eventId
int eventId
- Event Id of the RMRequestKeysMsg to which this is a response.
wmsg
RMRequestKeysMsg.WrappedMsg wmsg
target
rice.pastry.Id target
internalMsg
rice.pastry.messaging.Message internalMsg
prevNode
rice.pastry.NodeHandle prevNode
auxAddress
rice.pastry.messaging.Address auxAddress
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException,
java.lang.ClassNotFoundException
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException,
java.lang.ClassNotFoundException
row
int row
set
rice.pastry.routing.RouteSet[] set
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- deserialize the routeSet
pings the handle the was the closests on the sending node
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException,
java.lang.ClassNotFoundException
- serialize the RouteSet
records the closest node
nodes
rice.pastry.NodeHandle[] nodes
theSize
int theSize
closest
int closest
source
rice.p2p.commonapi.NodeHandle source
topic
rice.p2p.scribe.Topic topic
m_data
java.io.Serializable m_data
- This is the information inside the message.
Should be serializable.
m_topicId
rice.pastry.NodeId m_topicId
- The ID of the topic that this message refers to.
Should be serializable.
m_source
rice.pastry.NodeHandle m_source
- The ID of the source of this message.
Should be serializable.
id
rice.p2p.commonapi.Id id
nextHop
rice.p2p.commonapi.NodeHandle nextHop
message
rice.p2p.commonapi.Message message
topic
rice.p2p.scribe.Topic topic
- DESCRIBE THE FIELD
num
int num
- DESCRIBE THE FIELD
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException,
java.lang.ClassNotFoundException
random
boolean random
noShortCuts
boolean noShortCuts
shortestPath
boolean shortestPath
allowMultipleHops
boolean allowMultipleHops
ln
rice.pastry.NodeHandle ln
clockwise
boolean clockwise
nodes
rice.pastry.NodeHandle[] nodes
theSize
int theSize
o
java.lang.Object o
destination
rice.pastry.NodeId destination
data
byte[] data
- The internal data - just the bytes
stage
int stage
- The stage that the client attempting to join is in
myCode
int myCode
pathToRoot
rice.p2p.commonapi.Id[] pathToRoot
- The contained path to the root
subscriber
rice.p2p.commonapi.NodeHandle subscriber
- The original subscriber
previousParent
rice.p2p.commonapi.Id previousParent
- The previous parent
id
int id
- The id of this message
_authorCred
rice.pastry.security.Credentials _authorCred
- The credentials of the author for the object contained in this object
_source
rice.pastry.NodeHandle _source
- The ID of the source of this message.
Should be serializable.
id
rice.p2p.commonapi.Id id
- The Id to which this topic is mapped
readObject
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Overridden in order to specify the default state (using UDP)
Copyright © 2001 - Rice Pastry.