ePOST API

Uses of Interface
rice.p2p.commonapi.Id

Packages that use Id
rice.email   
rice.email.log   
rice.p2p.aggregation   
rice.p2p.aggregation.messaging   
rice.p2p.commonapi   
rice.p2p.glacier   
rice.p2p.glacier.v2   
rice.p2p.glacier.v2.messaging   
rice.p2p.multiring   
rice.p2p.multiring.testing   
rice.p2p.past   
rice.p2p.past.gc   
rice.p2p.past.gc.messaging   
rice.p2p.past.messaging   
rice.p2p.past.testing   
rice.p2p.replication   
rice.p2p.replication.manager   
rice.p2p.replication.manager.messaging   
rice.p2p.replication.manager.testing   
rice.p2p.replication.testing   
rice.p2p.scribe   
rice.p2p.scribe.messaging   
rice.p2p.scribe.testing   
rice.p2p.util   
rice.p2p.util.testing   
rice.pastry   
rice.pastry.commonapi   
rice.pastry.leafset   
rice.pastry.routing   
rice.pastry.testing   
rice.persistence   
rice.persistence.testing   
rice.post   
rice.post.delivery   
rice.post.log   
rice.post.messaging   
rice.post.proxy   
rice.post.storage   
rice.tutorial.lesson3   
rice.tutorial.lesson4   
rice.tutorial.lesson5   
rice.tutorial.lesson6   
rice.tutorial.lesson7   
rice.visualization   
 

Uses of Id in rice.email
 

Methods in rice.email with parameters of type Id
 ContentHashReference EmailData.buildContentHashReference(Id[] location, byte[][] key)
          This method dynamically builds an appropriate HashReference for this type of PostData given a location and key.
 ContentHashReference SnapShot.buildContentHashReference(Id[] location, byte[][] key)
          This method dynamically builds an appropriate ContentHashReference for this type of PostData given a location and key.
 SecureReference EmailData.buildSecureReference(Id location, byte[] key)
          This method is not supported (you CAN NOT store an emaildata as a secure block).
 SecureReference SnapShot.buildSecureReference(Id location, byte[] key)
          This method dynamically builds an appropriate SecureReference for this type of PostData given a location and key.
 SignedReference EmailData.buildSignedReference(Id location)
          This method dynamically builds an appropriate SignedReference for this type of PostData given a location.
 SignedReference SnapShot.buildSignedReference(Id location)
          This method dynamically builds an appropriate SignedReference for this type of PostData given a location.
 

Constructors in rice.email with parameters of type Id
EmailDataReference(Id[] location, byte[][] key)
          Contructs an EmailDataReference object given the address and encryption key of the object.
 

Uses of Id in rice.email.log
 

Fields in rice.email.log declared as Id
protected  Id AddFolderLogEntry.logid
           
protected  Id RemoveFolderLogEntry.logid
           
 

Methods in rice.email.log that return Id
 Id AddFolderLogEntry.getLogId()
           
 Id RemoveFolderLogEntry.getLogId()
           
 

Constructors in rice.email.log with parameters of type Id
AddFolderLogEntry(java.lang.String name, Id logid, long time)
           
EmailLog(java.lang.Object name, Id location, Post post, java.security.KeyPair pair)
          Constructor for SnapShot.
RemoveFolderLogEntry(java.lang.String name, Id logid, long time)
           
 

Uses of Id in rice.p2p.aggregation
 

Fields in rice.p2p.aggregation declared as Id
 Id ObjectDescriptor.key
           
protected  Id Aggregate.myId
           
protected  Id[] Aggregate.pointers
           
protected  Id AggregateList.rootKey
           
 

Methods in rice.p2p.aggregation that return Id
 Id Aggregate.getId()
           
 Id[] Aggregate.getPointers()
           
 Id AggregateList.getRoot()
           
 Id[] AggregateList.getSomePointers(int referenceThreshold, int max, Id[] excludes)
           
 

Methods in rice.p2p.aggregation with parameters of type Id
 PastContent Aggregate.checkInsert(Id id, PastContent existingContent)
           
 void AggregationImpl.deliver(Id id, Message message)
           
 void Aggregation.flush(Id id, Continuation command)
          Creates an aggregate that includes the most current object with the specified key.
 void AggregationImpl.flush(Id id, Continuation command)
           
 rice.p2p.aggregation.AggregateDescriptor AggregateList.getADC(Id id)
           
 Id[] AggregateList.getSomePointers(int referenceThreshold, int max, Id[] excludes)
           
 void AggregationImpl.lookup(Id id, boolean cache, Continuation command)
           
 void AggregationImpl.lookup(Id id, Continuation command)
           
 void AggregationImpl.lookup(Id id, long version, Continuation command)
           
 void AggregationImpl.lookupHandle(Id id, NodeHandle handle, Continuation command)
           
 void AggregationImpl.lookupHandles(Id id, int max, Continuation command)
           
 void AggregationImpl.lookupHandles(Id id, long version, int max, Continuation command)
           
 void AggregateList.recalculateReferenceCounts(Id[] excludes)
           
 void AggregationImpl.refresh(Id[] ids, long[] expirations, Continuation command)
           
 void AggregationImpl.refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)
           
 void AggregationImpl.refresh(Id[] ids, long expiration, Continuation command)
           
 void Aggregation.rollback(Id id, Continuation command)
          Attempts to retrieve the most recent object that has been inserted by the local node under the specified key.
 void AggregationImpl.rollback(Id id, Continuation command)
           
 void Aggregate.setId(Id myId)
           
 void AggregateList.setRoot(Id root)
           
 

Constructors in rice.p2p.aggregation with parameters of type Id
Aggregate(GCPastContent[] components, Id[] pointers)
           
ObjectDescriptor(Id key, long version, long currentLifetime, long refreshedLifetime, int size)
           
 

Uses of Id in rice.p2p.aggregation.messaging
 

Fields in rice.p2p.aggregation.messaging declared as Id
protected  Id AggregationMessage.dest
           
 

Methods in rice.p2p.aggregation.messaging that return Id
 Id AggregationMessage.getDestination()
          Method which returns this messages' destination address
 

Constructors in rice.p2p.aggregation.messaging with parameters of type Id
AggregationMessage(int id, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id
 

Uses of Id in rice.p2p.commonapi
 

Methods in rice.p2p.commonapi that return Id
 Id Id.addToId(Id.Distance offset)
          Returns an Id corresponding to this Id plus a given distance
 Id[] IdSet.asArray()
          return this set as an array
 Id IdFactory.buildId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id IdFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id IdFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id IdFactory.buildIdFromToString(char[] chars, int offset, int length)
          Builds an Id by converting the given toString() output back to an Id.
 Id IdFactory.buildIdFromToString(java.lang.String string)
          Builds an Id by converting the given toString() output back to an Id.
 Id IdFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id IdFactory.buildRandomId(RandomSource rng)
           
 Id IdRange.getCCWId()
          get counterclockwise edge of range
 Id IdRange.getCWId()
          get clockwise edge of range
 Id RouteMessage.getDestinationId()
          Returns the destination Id for this message
 Id Endpoint.getId()
          Returns this node's id, which is its identifier in the namespace.
 Id Node.getId()
          Returns the Id of this node
abstract  Id NodeHandle.getId()
          Returns this node's id.
 

Methods in rice.p2p.commonapi with parameters of type Id
 void IdSet.addId(Id id)
          add a member
 IdRange IdFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 boolean Id.clockwise(Id nid)
          Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring.
 boolean IdRange.containsId(Id key)
          test if a given key lies within this range
 void Application.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 Id.Distance Id.distanceFromId(Id nid)
          Returns the shorter numerical distance on the ring between a pair of Ids.
 NodeHandle NodeHandleSet.getHandle(Id id)
          Finds the NodeHandle associated with the NodeId.
 int NodeHandleSet.getIndexHandle(Id id)
          Gets the index of the element with the given node id.
 boolean Id.isBetween(Id ccw, Id cw)
          Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle
 boolean IdSet.isMemberId(Id id)
          test membership
 NodeHandleSet Endpoint.localLookup(Id id, int num, boolean safe)
          This call produces a list of nodes that can be used as next hops on a route towards the given id, such that the resulting route satisfies the overlay protocol's bounds on the number of hops taken.
 Id.Distance Id.longDistanceFromId(Id nid)
          Returns the longer numerical distance on the ring between a pair of Ids.
 boolean NodeHandleSet.memberHandle(Id id)
          Verifies if the set contains this particular id.
 IdRange Endpoint.range(NodeHandle handle, int rank, Id lkey)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 IdRange Endpoint.range(NodeHandle handle, int rank, Id lkey, boolean cumulative)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 NodeHandle NodeHandleSet.removeHandle(Id id)
          Removes a node id and its handle from the set.
 void IdSet.removeId(Id id)
          remove a member
 NodeHandleSet Endpoint.replicaSet(Id id, int maxRank)
          This method returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 NodeHandleSet Endpoint.replicaSet(Id id, int maxRank, NodeHandle root, NodeHandleSet set)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 void Endpoint.route(Id id, Message message, NodeHandle hint)
          This method makes an attempt to route the message to the root of the given id.
 void RouteMessage.setDestinationId(Id id)
          Sets the destination Id for this message
 

Uses of Id in rice.p2p.glacier
 

Classes in rice.p2p.glacier that implement Id
 class FragmentKey
          DESCRIBE THE CLASS
 class VersionKey
          DESCRIBE THE CLASS
 

Fields in rice.p2p.glacier declared as Id
protected  Id VersionKey.id
          DESCRIBE THE FIELD
 

Methods in rice.p2p.glacier that return Id
 Id FragmentKey.addToId(Id.Distance offset)
          Adds a feature to the ToId attribute of the FragmentKey object
 Id VersionKey.addToId(Id.Distance offset)
           
 Id[] FragmentKeySet.asArray()
          return this set as an array
 Id[] VersionKeySet.asArray()
          return this set as an array
 Id FragmentKeyFactory.buildId(byte[] material)
          DESCRIBE THE METHOD
 Id VersionKeyFactory.buildId(byte[] material)
          DESCRIBE THE METHOD
 Id FragmentKeyFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id VersionKeyFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id FragmentKeyFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id VersionKeyFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id FragmentKeyFactory.buildIdFromToString(char[] chars, int offset, int length)
           
 Id VersionKeyFactory.buildIdFromToString(char[] chars, int offset, int length)
           
 Id FragmentKeyFactory.buildIdFromToString(java.lang.String string)
          DESCRIBE THE METHOD
 Id VersionKeyFactory.buildIdFromToString(java.lang.String string)
          DESCRIBE THE METHOD
 Id FragmentKeyFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id VersionKeyFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id FragmentKeyFactory.buildRandomId(RandomSource rng)
           
 Id VersionKeyFactory.buildRandomId(RandomSource rng)
           
 Id FragmentKeyRange.getCCWId()
          get counterclockwise edge of range
 Id VersionKeyRange.getCCWId()
          get counterclockwise edge of range
 Id FragmentKeyRange.getCWId()
          get clockwise edge of range
 Id VersionKeyRange.getCWId()
          get clockwise edge of range
 Id VersionKey.getId()
          Gets the Id attribute of the VersionKey object
 

Methods in rice.p2p.glacier with parameters of type Id
 void FragmentKeySet.addId(Id id)
          add a member
 void VersionKeySet.addId(Id id)
          add a member
 void FragmentKeySet.addMember(Id id)
          add a member
 void VersionKeySet.addMember(Id id)
          add a member
 IdRange FragmentKeyFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 IdRange VersionKeyFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 boolean FragmentKey.clockwise(Id nid)
          DESCRIBE THE METHOD
 boolean VersionKey.clockwise(Id nid)
           
 boolean FragmentKeyRange.containsId(Id key)
          test if a given key lies within this range
 boolean VersionKeyRange.containsId(Id key)
          test if a given key lies within this range
 Id.Distance FragmentKey.distanceFromId(Id nid)
          DESCRIBE THE METHOD
 Id.Distance VersionKey.distanceFromId(Id nid)
           
 boolean FragmentKey.isBetween(Id ccw, Id cw)
          Gets the Between attribute of the FragmentKey object
 boolean VersionKey.isBetween(Id ccw, Id cw)
           
 boolean FragmentKeySet.isMember(Id id)
          test membership
 boolean VersionKeySet.isMember(Id id)
          test membership
 boolean FragmentKeySet.isMemberId(Id id)
          test membership
 boolean VersionKeySet.isMemberId(Id id)
          test membership
 Id.Distance FragmentKey.longDistanceFromId(Id nid)
          DESCRIBE THE METHOD
 Id.Distance VersionKey.longDistanceFromId(Id nid)
           
 void VersioningPast.lookup(Id id, long version, Continuation command)
          Retrieves the object stored in this instance of Past with the given ID and the specified version.
 void VersioningPast.lookupHandles(Id id, long version, int num, Continuation command)
          Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID.
 void VersioningPast.refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)
          Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
 void FragmentKeySet.removeId(Id id)
          remove a member
 void VersionKeySet.removeId(Id id)
          remove a member
 void FragmentKeySet.removeMember(Id id)
          remove a member
 void VersionKeySet.removeMember(Id id)
          remove a member
 FragmentKeySet FragmentKeySet.subSet(Id from, Id to)
          return a subset of this set, consisting of the member ids in a given range
 VersionKeySet VersionKeySet.subSet(Id from, Id to)
          return a subset of this set, consisting of the member ids in a given range
 

Constructors in rice.p2p.glacier with parameters of type Id
VersionKey(Id id, long version)
          Constructor for VersionKey.
 

Uses of Id in rice.p2p.glacier.v2
 

Fields in rice.p2p.glacier.v2 declared as Id
protected  Id GlacierContentHandle.id
           
protected  Id DebugContent.myId
           
protected  Id DebugContentHandle.myId
           
 

Methods in rice.p2p.glacier.v2 that return Id
 Id DebugContent.getId()
           
 Id DebugContentHandle.getId()
           
 Id GlacierContentHandle.getId()
           
 Id[][] GlacierImpl.getNeighborRanges()
           
 

Methods in rice.p2p.glacier.v2 with parameters of type Id
 PastContent DebugContent.checkInsert(Id id, PastContent existingContent)
           
 void GlacierImpl.deliver(Id id, Message message)
           
 void GlacierImpl.lookup(Id id, boolean cache, Continuation command)
           
 void GlacierImpl.lookup(Id id, Continuation command)
           
 void GlacierImpl.lookup(Id id, long version, Continuation command)
           
 void GlacierImpl.lookupHandle(Id id, NodeHandle handle, Continuation command)
           
 void GlacierImpl.lookupHandles(Id id, int num, Continuation command)
           
 void GlacierImpl.lookupHandles(Id id, long version, int num, Continuation command)
           
 void GlacierImpl.neighborSeen(Id nodeId, long when)
           
 void GlacierImpl.refresh(Id[] ids, long[] expirations, Continuation command)
           
 void GlacierImpl.refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)
           
 void GlacierImpl.refresh(Id[] ids, long expiration, Continuation command)
           
 void GlacierImpl.sendMessage(Id id, GlacierMessage message, NodeHandle hint)
           
 

Constructors in rice.p2p.glacier.v2 with parameters of type Id
DebugContent(Id id, boolean isMutable, long version, byte[] payload)
           
GlacierContentHandle(Id id, long version, NodeHandle nodeHandle, Manifest manifest)
           
 

Uses of Id in rice.p2p.glacier.v2.messaging
 

Fields in rice.p2p.glacier.v2.messaging declared as Id
protected  Id GlacierMessage.dest
           
protected  Id[] GlacierNeighborResponseMessage.neighbors
           
protected  Id GlacierRefreshProbeMessage.requestedId
           
 

Methods in rice.p2p.glacier.v2.messaging that return Id
 Id GlacierMessage.getDestination()
          Method which returns this messages' destination address
 Id GlacierNeighborResponseMessage.getNeighbor(int index)
           
 Id GlacierRefreshProbeMessage.getRequestedId()
           
 

Constructors in rice.p2p.glacier.v2.messaging with parameters of type Id
GlacierDataMessage(int uid, FragmentKey[] keys, Fragment[] fragments, Manifest[] manifests, NodeHandle source, Id dest, boolean isResponse, char tag)
           
GlacierDataMessage(int uid, FragmentKey key, Fragment fragment, Manifest manifest, NodeHandle source, Id dest, boolean isResponse, char tag)
           
GlacierFetchMessage(int uid, FragmentKey[] keys, int request, NodeHandle source, Id dest, char tag)
           
GlacierFetchMessage(int uid, FragmentKey key, int request, NodeHandle source, Id dest, char tag)
           
GlacierMessage(int id, NodeHandle source, Id dest, boolean isResponse, char tag)
          Constructor which takes a unique integer Id
GlacierNeighborRequestMessage(int uid, IdRange requestedRange, NodeHandle source, Id dest, char tag)
           
GlacierNeighborResponseMessage(int uid, Id[] neighbors, long[] lastSeen, NodeHandle source, Id dest, char tag)
           
GlacierNeighborResponseMessage(int uid, Id[] neighbors, long[] lastSeen, NodeHandle source, Id dest, char tag)
           
GlacierQueryMessage(int uid, FragmentKey[] keys, NodeHandle source, Id dest, char tag)
           
GlacierRangeForwardMessage(int uid, IdRange requestedRange, NodeHandle requestor, NodeHandle source, Id dest, char tag)
           
GlacierRangeQueryMessage(int uid, IdRange requestedRange, NodeHandle source, Id dest, char tag)
           
GlacierRangeResponseMessage(int uid, IdRange commonRange, NodeHandle source, Id dest, char tag)
           
GlacierRefreshCompleteMessage(int uid, VersionKey[] keys, int[] updates, NodeHandle source, Id dest, char tag)
           
GlacierRefreshPatchMessage(int uid, VersionKey[] keys, long[] lifetimes, byte[][] signatures, NodeHandle source, Id dest, char tag)
           
GlacierRefreshProbeMessage(int uid, Id requestedId, NodeHandle source, Id dest, char tag)
           
GlacierRefreshResponseMessage(int uid, IdRange range, boolean online, NodeHandle source, Id dest, char tag)
           
GlacierResponseMessage(int uid, FragmentKey[] keys, boolean[] haveIt, long[] lifetimes, boolean[] authoritative, NodeHandle source, Id dest, boolean isResponse, char tag)
           
GlacierResponseMessage(int uid, FragmentKey key, boolean haveIt, long lifetime, boolean authoritative, NodeHandle source, Id dest, boolean isResponse, char tag)
           
GlacierSyncMessage(int uid, IdRange range, int offsetFID, BloomFilter BloomFilter, NodeHandle source, Id dest, char tag)
           
 

Uses of Id in rice.p2p.multiring
 

Classes in rice.p2p.multiring that implement Id
 class RingId
           
 

Fields in rice.p2p.multiring declared as Id
protected  Id RingCertificate.id
           
protected  Id RingId.id
          The id which this ringId represents
protected  Id MultiringApplication.ringId
          The Id which represents the current ring this app is a member of
protected  Id MultiringIdFactory.ringId
          The multiring node supporting this endpoint
protected  Id MultiringIdRange.ringId
          The ringId of the nodes in the range
protected  Id MultiringIdSet.ringId
          The ringId of the ids in the set
protected  Id MultiringNode.ringId
          The Id which represents the current ring this node is a member of
protected  Id MultiringNodeHandle.ringId
          The handle's ringId
protected  Id MultiringNodeHandleSet.ringId
          The handle's ringId
protected  Id MultiringRouteMessage.ringId
          The messages's ringId
protected  Id RingId.ringId
          The ringId which this ringId represents
 

Methods in rice.p2p.multiring that return Id
 Id RingId.addToId(Id.Distance offset)
          Returns an Id corresponding to this Id plus a given distance
 Id[] MultiringIdSet.asArray()
          return this set as an array
 Id MultiringIdFactory.buildId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id MultiringIdFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id MultiringIdFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id MultiringIdFactory.buildIdFromToString(char[] chars, int offset, int length)
          Builds an Id by converting the given toString() output back to an Id.
 Id MultiringIdFactory.buildIdFromToString(java.lang.String string)
          Builds an Id by converting the given toString() output back to an Id.
 Id MultiringIdFactory.buildNormalId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id MultiringIdFactory.buildNormalId(java.lang.String material)
          Builds a protocol-specific Id given the source data.
 Id MultiringIdFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id MultiringIdFactory.buildRandomId(RandomSource rng)
           
 Id MultiringIdRange.getCCWId()
          get counterclockwise edge of range
 Id MultiringIdRange.getCWId()
          get clockwise edge of range
 Id MultiringRouteMessage.getDestinationId()
          Returns the destination Id for this message
 Id MultiringEndpoint.getId()
          Returns this node's id, which is its identifier in the namespace.
 Id MultiringNode.getId()
          Returns the Id of this node
 Id MultiringNodeHandle.getId()
          Returns this node's id.
 Id RingCertificate.getId()
          Returns the id of this ring
 Id RingId.getId()
          Returns this ringid's id
 Id MultiringNode.getNodeId()
          Returns the underlying id of this node
 Id MultiringIdFactory.getRingId()
          Method which returns the underlying Id which represents the local node's ring
 Id MultiringNode.getRingId()
          Returns the ringId of this node
 Id MultiringNodeHandle.getRingId()
          Returns the ringId of this node handle
 Id RingId.getRingId()
          Returns this ringid's ring id
 

Methods in rice.p2p.multiring with parameters of type Id
 void MultiringIdSet.addId(Id id)
          add a member
static RingId RingId.build(Id ringId, Id id)
          Constructor.
 IdRange MultiringIdFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 RingId MultiringIdFactory.buildRingId(Id ringId, byte[] material)
          Builds a ringId by using the provided Id and ringIds.
 RingId MultiringIdFactory.buildRingId(Id ringId, Id id)
          Builds a ringId by using the provided Id and ringIds.
 boolean RingId.clockwise(Id nid)
          Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring.
 boolean MultiringIdRange.containsId(Id key)
          test if a given key lies within this range
 void MultiringApplication.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 Id.Distance RingId.distanceFromId(Id nid)
          Returns the shorter numerical distance on the ring between a pair of Ids.
static RingCertificate RingCertificate.getCertificate(Id ringId)
          Method which returns the certificates found for the given ringId
 NodeHandle MultiringNodeHandleSet.getHandle(Id id)
          Finds the NodeHandle associated with the NodeId.
 int MultiringNodeHandleSet.getIndexHandle(Id id)
          Gets the index of the element with the given node id.
 boolean RingId.isBetween(Id ccw, Id cw)
          Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle
 boolean MultiringIdSet.isMemberId(Id id)
          test membership
 NodeHandleSet MultiringEndpoint.localLookup(Id id, int num, boolean safe)
          This call produces a list of nodes that can be used as next hops on a route towards the given id, such that the resulting route satisfies the overlay protocol's bounds on the number of hops taken.
 Id.Distance RingId.longDistanceFromId(Id nid)
          Returns the longer numerical distance on the ring between a pair of Ids.
 boolean MultiringNodeHandleSet.memberHandle(Id id)
          Verifies if the set contains this particular id.
protected  void MultiringNode.nodeAdded(Id otherRingId)
          Method which is used to inform the node that another node has been added to the collection.
 IdRange MultiringEndpoint.range(NodeHandle handle, int rank, Id lkey)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 IdRange MultiringEndpoint.range(NodeHandle handle, int rank, Id lkey, boolean cumulative)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 NodeHandle MultiringNodeHandleSet.removeHandle(Id id)
          Removes a node id and its handle from the set.
 void MultiringIdSet.removeId(Id id)
          remove a member
 NodeHandleSet MultiringEndpoint.replicaSet(Id id, int maxRank)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 NodeHandleSet MultiringEndpoint.replicaSet(Id id, int maxRank, NodeHandle root, NodeHandleSet set)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 void MultiringEndpoint.route(Id id, Message message, NodeHandle hint)
          This method makes an attempt to route the message to the root of the given id.
 void MultiringRouteMessage.setDestinationId(Id id)
          Sets the destination Id for this message
 

Constructors in rice.p2p.multiring with parameters of type Id
MultiringApplication(Id ringId, Application application)
          Constructor
MultiringIdFactory(Id ringId, IdFactory factory)
          Constructor
MultiringIdRange(Id ringId, IdRange range)
          Constructor
MultiringIdSet(Id ringId, IdSet set)
          Constructor
MultiringNode(Id ringId, Node node)
          Constructor
MultiringNode(Id ringId, Node node, MultiringNode existing)
          Constructor
MultiringNodeHandle(Id ringId, NodeHandle handle)
          Constructor
MultiringNodeHandleSet(Id ringId, NodeHandleSet set)
          Constructor
MultiringRouteMessage(Id ringId, RouteMessage message)
          Constructor
RingCertificate(java.lang.String name, Id id, int protocol, java.net.InetSocketAddress[] bootstraps, int port, java.security.PublicKey key, java.net.InetSocketAddress logServer)
          Builds a new RingCertificate given the appropriate info
 

Uses of Id in rice.p2p.multiring.testing
 

Fields in rice.p2p.multiring.testing declared as Id
protected  Id MultiringRegrTest.globalRingId
           
protected  Id[] MultiringRegrTest.ringIds
           
 Id MultiringRegrTest.MultiringTestMessage.source
           
 

Methods in rice.p2p.multiring.testing with parameters of type Id
protected  MultiringNode MultiringRegrTest.createNode(Id ringId, MultiringNode bootstrap)
          Method which creates a single node, given it's node number
protected  MultiringNode MultiringRegrTest.createNode(MultiringNode existing, Id ringId, MultiringNode bootstrap)
          Method which creates a single node, given it's node number
 void MultiringRegrTest.MultiringTestApp.deliver(Id id, Message message)
           
 void MultiringRegrTest.MultiringTestApp.send(Id target)
           
 

Constructors in rice.p2p.multiring.testing with parameters of type Id
MultiringRegrTest.MultiringTestMessage(Id source)
           
 

Uses of Id in rice.p2p.past
 

Fields in rice.p2p.past declared as Id
protected  Id ContentHashPastContent.myId
           
 

Methods in rice.p2p.past that return Id
 Id ContentHashPastContent.getId()
          Returns the Id under which this object is stored in Past.
 Id ContentHashPastContentHandle.getId()
          Returns the id of the PastContent object associated with this handle
 Id PastContent.getId()
          Returns the Id under which this object is stored in Past.
 Id PastContentHandle.getId()
          get the id of the PastContent object associated with this handle
 

Methods in rice.p2p.past with parameters of type Id
 PastContent ContentHashPastContent.checkInsert(Id id, PastContent existingContent)
          Checks if a insert operation should be allowed.
 PastContent PastContent.checkInsert(Id id, PastContent existingContent)
          Checks if a insert operation should be allowed.
 void PastImpl.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
protected  void PastImpl.doInsert(Id id, PastImpl.MessageBuilder builder, Continuation command)
          Internal method which actually performs an insert for a given object.
 boolean PastImpl.exists(Id id)
          This upcall should return whether or not the given id is currently stored by the client.
 void PastImpl.existsInOverlay(Id id, Continuation command)
           
 void PastPolicy.fetch(Id id, NodeHandle hint, Cache backup, Past past, Continuation command)
          This method is called when Past is told to fetch a key.
 void PastPolicy.DefaultPastPolicy.fetch(Id id, NodeHandle hint, Cache backup, Past past, Continuation command)
          This method fetches the object via a lookup() call.
 void PastImpl.fetch(Id id, NodeHandle hint, Continuation command)
          This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed.
protected  void PastImpl.getHandles(Id id, int max, Continuation command)
          Internal method which returns the handles to an object.
 void Past.lookup(Id id, boolean cache, Continuation command)
          Retrieves the object stored in this instance of Past with the given ID.
 void PastImpl.lookup(Id id, boolean cache, Continuation command)
          Method which performs the same as lookup(), but allows the callee to specify if the data should be cached.
 void Past.lookup(Id id, Continuation command)
          Retrieves the object stored in this instance of Past with the given ID.
 void PastImpl.lookup(Id id, Continuation command)
          Retrieves the object stored in this instance of Past with the given ID.
 void Past.lookupHandle(Id id, NodeHandle handle, Continuation command)
          Retrieves the handle for the given object stored on the requested node.
 void PastImpl.lookupHandle(Id id, NodeHandle handle, Continuation command)
          Retrieves the handle for the given object stored on the requested node.
 void Past.lookupHandles(Id id, int max, Continuation command)
          Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID.
 void PastImpl.lookupHandles(Id id, int max, Continuation command)
          Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID.
 void PastImpl.reInsert(Id id, Continuation command)
           
 void PastImpl.remove(Id id, Continuation command)
          This upcall is to notify the client that the given id can be safely removed from the storage.
protected  void PastImpl.sendRequest(Id id, PastMessage message, Continuation command)
          Sends a request message across the wire, and stores the appropriate continuation.
protected  void PastImpl.sendRequest(Id id, PastMessage message, NodeHandle hint, Continuation command)
          Sends a request message across the wire, and stores the appropriate continuation.
 

Constructors in rice.p2p.past with parameters of type Id
ContentHashPastContent(Id myId)
           
ContentHashPastContentHandle(NodeHandle nh, Id id)
          Constructor
 

Uses of Id in rice.p2p.past.gc
 

Classes in rice.p2p.past.gc that implement Id
 class GCId
           
 

Fields in rice.p2p.past.gc declared as Id
protected  Id GCId.id
          The id which this ringId represents
 

Methods in rice.p2p.past.gc that return Id
 Id GCId.addToId(Id.Distance offset)
          Returns an Id corresponding to this Id plus a given distance
 Id[] GCIdSet.asArray()
          return this set as an array
 Id GCIdFactory.buildId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id GCIdFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id GCIdFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id GCIdFactory.buildIdFromToString(char[] chars, int offset, int length)
          Builds an Id by converting the given toString() output back to an Id.
 Id GCIdFactory.buildIdFromToString(java.lang.String string)
          Builds an Id by converting the given toString() output back to an Id.
 Id GCIdFactory.buildNormalId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id GCIdFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id GCIdFactory.buildRandomId(RandomSource rng)
           
 Id GCIdRange.getCCWId()
          get counterclockwise edge of range
 Id GCIdRange.getCWId()
          get clockwise edge of range
 Id GCEndpoint.getId()
          Returns this node's id, which is its identifier in the namespace.
 Id GCId.getId()
          Returns this gcid's id
 Id GCNode.getId()
          Returns the Id of this node
 

Methods in rice.p2p.past.gc with parameters of type Id
 void GCIdSet.addId(Id id)
          add a member
 IdRange GCIdFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 boolean GCId.clockwise(Id nid)
          Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring.
 boolean GCIdRange.containsId(Id key)
          test if a given key lies within this range
 void GCPastImpl.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 Id.Distance GCId.distanceFromId(Id nid)
          Returns the shorter numerical distance on the ring between a pair of Ids.
 boolean GCPastImpl.exists(Id id)
          This upcall should return whether or not the given id is currently stored by the client.
 void GCPastImpl.existsInOverlay(Id id, Continuation command)
           
 void GCPastImpl.fetch(Id id, NodeHandle hint, Continuation command)
          This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed.
protected  GCId GCIdSet.getGCId(Id id)
           
 boolean GCId.isBetween(Id ccw, Id cw)
          Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle
 boolean GCIdSet.isMemberId(Id id)
          test membership
 NodeHandleSet GCEndpoint.localLookup(Id id, int num, boolean safe)
          This call produces a list of nodes that can be used as next hops on a route towards the given id, such that the resulting route satisfies the overlay protocol's bounds on the number of hops taken.
 Id.Distance GCId.longDistanceFromId(Id nid)
          Returns the longer numerical distance on the ring between a pair of Ids.
 IdRange GCEndpoint.range(NodeHandle handle, int rank, Id lkey)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 IdRange GCEndpoint.range(NodeHandle handle, int rank, Id lkey, boolean cumulative)
          This operation provides information about ranges of keys for which the node is currently a rank-root.
 void GCPast.refresh(Id[] ids, long[] expiration, Continuation command)
          Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
 void GCPastImpl.refresh(Id[] array, long[] expirations, Continuation command)
          Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
 void GCPast.refresh(Id[] ids, long expiration, Continuation command)
          Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
 void GCPastImpl.refresh(Id[] array, long expiration, Continuation command)
          Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time.
 void GCPastImpl.reInsert(Id id, Continuation command)
           
 void GCPastImpl.remove(Id id, Continuation command)
          This upcall is to notify the client that the given id can be safely removed from the storage.
 void GCIdSet.removeId(Id id)
          remove a member
 NodeHandleSet GCEndpoint.replicaSet(Id id, int maxRank)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 NodeHandleSet GCEndpoint.replicaSet(Id id, int maxRank, NodeHandle root, NodeHandleSet set)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 void GCEndpoint.route(Id id, Message message, NodeHandle hint)
          This method makes an attempt to route the message to the root of the given id.
 

Constructors in rice.p2p.past.gc with parameters of type Id
GCId(Id id, long expiration)
          Constructor
 

Uses of Id in rice.p2p.past.gc.messaging
 

Constructors in rice.p2p.past.gc.messaging with parameters of type Id
GCCollectMessage(int id, NodeHandle source, Id dest)
          Constructor
GCInsertMessage(int uid, PastContent content, long expiration, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id, as well as the data to be stored
GCLookupHandlesMessage(int uid, Id id, NodeHandle source, Id dest)
          Constructor
GCRefreshMessage(int uid, GCIdSet keys, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id, as well as the keys to be refreshed
 

Uses of Id in rice.p2p.past.messaging
 

Fields in rice.p2p.past.messaging declared as Id
protected  Id PastMessage.dest
           
protected  Id MessageLostMessage.id
           
 

Methods in rice.p2p.past.messaging that return Id
 Id PastMessage.getDestination()
          Method which returns this messages' destination address
 Id FetchHandleMessage.getId()
          Method which returns the id
 Id LookupHandlesMessage.getId()
          Method which returns the id
 Id LookupMessage.getId()
          Method which returns the id
 

Constructors in rice.p2p.past.messaging with parameters of type Id
CacheMessage(int uid, PastContent content, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id and the local id
ContinuationMessage(int uid, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id, as well as the data to be stored
FetchHandleMessage(int uid, Id id, NodeHandle source, Id dest)
          Constructor
FetchMessage(int uid, PastContentHandle handle, NodeHandle source, Id dest)
          Constructor
InsertMessage(int uid, PastContent content, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id, as well as the data to be stored
LookupHandlesMessage(int uid, Id id, int max, NodeHandle source, Id dest)
          Constructor
LookupMessage(int uid, Id id, NodeHandle source, Id dest)
          Constructor
MessageLostMessage(int uid, NodeHandle local, Id id, Message message, NodeHandle hint)
          Constructor which takes a unique integer Id and the local id
PastMessage(int id, NodeHandle source, Id dest)
          Constructor which takes a unique integer Id
 

Uses of Id in rice.p2p.past.testing
 

Fields in rice.p2p.past.testing declared as Id
protected  Id PastRegrTest.TestPastContent.id
           
protected  Id PastRegrTest.TestPastContentHandle.id
           
 

Methods in rice.p2p.past.testing that return Id
 Id PastRegrTest.TestRouteMessage.getDestinationId()
           
 Id PastRegrTest.TestPastContent.getId()
           
 Id PastRegrTest.TestPastContentHandle.getId()
           
 

Methods in rice.p2p.past.testing with parameters of type Id
 PastContent PastRegrTest.TestPastContent.checkInsert(Id id, PastContent existingContent)
           
 PastContent PastRegrTest.NonOverwritingTestPastContent.checkInsert(Id id, PastContent existingContent)
           
 void PastRegrTest.TestRouteMessage.setDestinationId(Id id)
           
 

Constructors in rice.p2p.past.testing with parameters of type Id
PastRegrTest.NonMutableTestPastContent(Id id)
           
PastRegrTest.NonOverwritingTestPastContent(Id id, int version)
           
PastRegrTest.TestPastContent(Id id)
           
PastRegrTest.TestPastContentHandle(Past past, Id id)
           
PastRegrTest.TestRouteMessage(Id id, NodeHandle nextHop, Message message)
           
PastRegrTest.VersionedTestPastContent(Id id, int version)
           
 

Uses of Id in rice.p2p.replication
 

Methods in rice.p2p.replication with parameters of type Id
 void ReplicationImpl.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 

Uses of Id in rice.p2p.replication.manager
 

Fields in rice.p2p.replication.manager declared as Id
protected  Id ReplicationManagerImpl.ReplicationManagerHelper.current
          The next message UID which is available
protected  Id ReplicationManagerImpl.ReplicationManagerDeleter.id
          Whether or not we are waiting for a response
 

Methods in rice.p2p.replication.manager that return Id
protected  Id ReplicationManagerImpl.ReplicationManagerHelper.getNextId()
          Interal method which safely takes the next id to be fetched from the set of pending keys
 

Methods in rice.p2p.replication.manager with parameters of type Id
 void ReplicationManagerImpl.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 boolean ReplicationManagerClient.exists(Id id)
          This upcall should return whether or not the given id is currently stored locally by the client.
 void ReplicationManagerClient.existsInOverlay(Id id, Continuation command)
          This upcall should return whether or not the given id is currently stored somewhere in the overlay by the client.
 void ReplicationManagerClient.fetch(Id id, NodeHandle hint, Continuation command)
          This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed.
protected  void ReplicationManagerImpl.informClient(Id id, NodeHandle hint)
          Internal method which informs the client of the next id to fetch
 void ReplicationManagerImpl.ReplicationManagerHelper.message(Id id)
           
 void ReplicationManagerClient.reInsert(Id id, Continuation command)
          Asks a client to reinsert an object it already holds into the overlay
 void ReplicationManagerClient.remove(Id id, Continuation command)
          This upcall is to notify the client that the given id can be safely removed from the storage.
 

Uses of Id in rice.p2p.replication.manager.messaging
 

Fields in rice.p2p.replication.manager.messaging declared as Id
protected  Id TimeoutMessage.id
          THe unique id of this message
 

Methods in rice.p2p.replication.manager.messaging that return Id
 Id TimeoutMessage.getId()
          Returns the id of this message
 

Constructors in rice.p2p.replication.manager.messaging with parameters of type Id
TimeoutMessage(Id id)
          Constructor which takes a unique integer Id
 

Uses of Id in rice.p2p.replication.manager.testing
 

Methods in rice.p2p.replication.manager.testing with parameters of type Id
 boolean ReplicationManagerRegrTest.TestReplicationManagerClient.exists(Id id)
           
 void ReplicationManagerRegrTest.TestReplicationManagerClient.existsInOverlay(Id id, Continuation command)
           
 void ReplicationManagerRegrTest.TestReplicationManagerClient.fetch(Id id, NodeHandle hint, Continuation command)
           
 void ReplicationManagerRegrTest.TestReplicationManagerClient.insert(Id id)
           
 void ReplicationManagerRegrTest.TestReplicationManagerClient.reInsert(Id id, Continuation command)
           
 void ReplicationManagerRegrTest.TestReplicationManagerClient.remove(Id id, Continuation command)
           
 

Uses of Id in rice.p2p.replication.testing
 

Methods in rice.p2p.replication.testing with parameters of type Id
 void ReplicationRegrTest.TestReplicationClient.insert(Id id)
           
 

Uses of Id in rice.p2p.scribe
 

Fields in rice.p2p.scribe declared as Id
protected  Id Topic.id
          The Id to which this topic is mapped
protected  Id[] ScribeImpl.TopicManager.pathToRoot
          The current path to the root for this node
 

Methods in rice.p2p.scribe that return Id
 Id ScribeImpl.getId()
          Returns the Id of the local node
 Id Topic.getId()
          Returns the Id to which this topic is mapped
static Id Topic.getId(IdFactory factory, java.lang.String name)
          Returns the Id to which the string is mapped
 Id[] ScribeImpl.TopicManager.getPathToRoot()
          Gets the PathToRoot attribute of the TopicManager object
 

Methods in rice.p2p.scribe with parameters of type Id
 void ScribeImpl.deliver(Id id, Message message)
          This method is called on the application at the destination node for the given id.
 void ScribeImpl.TopicManager.setPathToRoot(Id[] pathToRoot)
          Sets the PathToRoot attribute of the TopicManager object
 

Constructors in rice.p2p.scribe with parameters of type Id
Topic(Id id)
          Constructor which takes an Id for this topic
 

Uses of Id in rice.p2p.scribe.messaging
 

Fields in rice.p2p.scribe.messaging declared as Id
protected  Id[] SubscribeAckMessage.pathToRoot
          The contained path to the root
protected  Id SubscribeMessage.previousParent
          The previous parent
 

Methods in rice.p2p.scribe.messaging that return Id
 Id[] SubscribeAckMessage.getPathToRoot()
          Returns the path to the root for the node receiving this message
 Id SubscribeMessage.getPreviousParent()
          Returns the node who is trying to subscribe
 

Constructors in rice.p2p.scribe.messaging with parameters of type Id
SubscribeAckMessage(NodeHandle source, Topic topic, Id[] pathToRoot, int id)
          Constructor which takes a unique integer Id
SubscribeMessage(NodeHandle source, Topic topic, Id previousParent, int id, ScribeContent content)
          Constructor which takes a unique integer Id
 

Uses of Id in rice.p2p.scribe.testing
 

Methods in rice.p2p.scribe.testing that return Id
 Id ScribeRegrTest.TestRouteMessage.getDestinationId()
          Gets the DestinationId attribute of the TestRouteMessage object
 

Methods in rice.p2p.scribe.testing with parameters of type Id
 void ScribeRegrTest.TestRouteMessage.setDestinationId(Id id)
          Sets the DestinationId attribute of the TestRouteMessage object
 

Constructors in rice.p2p.scribe.testing with parameters of type Id
ScribeRegrTest.TestRouteMessage(Id id, NodeHandle nextHop, Message message)
          Constructor for TestRouteMessage.
 

Uses of Id in rice.p2p.util
 

Methods in rice.p2p.util with parameters of type Id
protected  void IdBloomFilter.addId(Id id)
          Method which adds an Id to the underlying bloom filter
 boolean IdBloomFilter.check(Id id)
          Method which returns whether or not an Id *may* be in the set.
protected  void IdBloomFilter.checkArray(Id id)
          Internal method for checking to see if the array exists, and if not, instanciating it.
 

Uses of Id in rice.p2p.util.testing
 

Fields in rice.p2p.util.testing declared as Id
static Id[] IdBloomFilterReplicationTest.EXTRA
           
static Id[] IdBloomFilterReplicationTest.SHARED
           
 

Methods in rice.p2p.util.testing with parameters of type Id
protected static int RedBlackMapUnit.getIndex(Id id, Id[] sorted)
           
protected static int RedBlackMapUnit.getIndex(Id id, Id[] sorted)
           
protected static void RedBlackMapUnit.printMap(Id[] id)
           
protected static void RedBlackMapUnit.testHeadMap(Id head, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testHeadMap(Id head, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testNormalSubMap(Id from, Id to, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testNormalSubMap(Id from, Id to, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testRemove(java.util.SortedMap map, Id[] sorted, Id remove)
           
protected static void RedBlackMapUnit.testRemove(java.util.SortedMap map, Id[] sorted, Id remove)
           
protected static void RedBlackMapUnit.testTailMap(Id tail, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testTailMap(Id tail, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testWrappedSubMap(Id from, Id to, Id[] sorted, java.util.SortedMap sub)
           
protected static void RedBlackMapUnit.testWrappedSubMap(Id from, Id to, Id[] sorted, java.util.SortedMap sub)
           
 

Uses of Id in rice.pastry
 

Classes in rice.pastry that implement Id
 class Id
          Represents a Pastry identifier for a node, object or key.
 class NodeId
          Represents a Pastry identifier for a node.
 

Methods in rice.pastry that return Id
 Id Id.addToId(Id.Distance offset)
          Returns an Id corresponding to this Id plus a given distance
 Id[] IdSet.asArray()
          return this set as an array
 Id IdRange.getCCWId()
          get counterclockwise edge of range
 Id IdRange.getCWId()
          get clockwise edge of range
 Id NodeHandle.getId()
           
 Id PastryNode.getId()
          Returns the Id of this node
 

Methods in rice.pastry with parameters of type Id
 void IdSet.addId(Id id)
          add a member
 boolean Id.clockwise(Id nid)
          Checks to see if the Id nid is clockwise or counterclockwise from this, on the ring.
 boolean IdRange.containsId(Id key)
          test if a given key lies within this range
 Id.Distance Id.distanceFromId(Id nid)
          Returns the shorter numerical distance on the ring between a pair of Ids.
 NodeHandle NodeSet.getHandle(Id id)
          Finds the NodeHandle associated with the NodeId.
 int NodeSet.getIndexHandle(Id id)
          Gets the index of the element with the given node id.
 boolean Id.isBetween(Id ccw, Id cw)
          Checks if this Id is between two given ids ccw (inclusive) and cw (exclusive) on the circle
 boolean IdSet.isMemberId(Id id)
          test membership
 Id.Distance Id.longDistanceFromId(Id nid)
          Returns the longer numerical distance on the ring between a pair of Ids.
 boolean NodeSet.memberHandle(Id id)
          Verifies if the set contains this particular id.
 NodeHandle NodeSet.removeHandle(Id id)
          Removes a node id and its handle from the set.
 void IdSet.removeId(Id id)
          remove a member
 

Uses of Id in rice.pastry.commonapi
 

Methods in rice.pastry.commonapi that return Id
 Id PastryIdFactory.buildId(byte[] material)
          Builds a protocol-specific Id given the source data.
 Id PastryIdFactory.buildId(int[] material)
          Builds a protocol-specific Id given the source data.
 Id PastryIdFactory.buildId(java.lang.String string)
          Builds a protocol-specific Id by using the hash of the given string as source data.
 Id PastryIdFactory.buildIdFromToString(char[] chars, int offset, int length)
          Builds an Id by converting the given toString() output back to an Id.
 Id PastryIdFactory.buildIdFromToString(java.lang.String string)
          Builds an Id by converting the given toString() output back to an Id.
 Id PastryIdFactory.buildRandomId(java.util.Random rng)
          Builds a random protocol-specific Id.
 Id PastryIdFactory.buildRandomId(RandomSource rng)
           
 Id PastryEndpoint.getId()
          Returns this node's id, which is its identifier in the namespace.
 

Methods in rice.pastry.commonapi with parameters of type Id
 IdRange PastryIdFactory.buildIdRange(Id cw, Id ccw)
          Creates an IdRange given the CW and CCW ids.
 boolean PastryEndpoint.enrouteMessage(Message msg, Id key, NodeHandle nextHop, SendOptions opt)
           
 NodeHandleSet PastryEndpoint.localLookup(Id key, int num, boolean safe)
          This method produces a list of nodes that can be used as next hops on a route towards key, such that the resulting route satisfies the overlay protocol's bounds on the number of hops taken.
 IdRange PastryEndpoint.range(NodeHandle n, int r, Id key)
          This method provides information about ranges of keys for which the node n is currently a r-root.
 IdRange PastryEndpoint.range(NodeHandle n, int r, Id key, boolean cumulative)
          This method provides information about ranges of keys for which the node n is currently a r-root.
 NodeHandleSet PastryEndpoint.replicaSet(Id id, int maxRank)
          This method returns an ordered set of nodehandles on which replicas of the object with key can be stored.
 NodeHandleSet PastryEndpoint.replicaSet(Id id, int maxRank, NodeHandle root, NodeHandleSet set)
          This methods returns an ordered set of nodehandles on which replicas of an object with a given id can be stored.
 void PastryEndpoint.route(Id key, Message msg, NodeHandle hint)
          This operation forwards a message towards the root of key.
 

Uses of Id in rice.pastry.leafset
 

Methods in rice.pastry.leafset with parameters of type Id
 NodeHandle SimilarSet.getHandle(Id id)
          Finds the NodeHandle associated with the NodeId.
 int SimilarSet.getIndexHandle(Id id)
          Gets the index of the element with the given node id.
 boolean SimilarSet.memberHandle(Id id)
          Verifies if the set contains this particular id.
 NodeHandle SimilarSet.removeHandle(Id id)
          Removes a node id and its handle from the set.
 

Uses of Id in rice.pastry.routing
 

Methods in rice.pastry.routing that return Id
 Id RouteMessage.getDestinationId()
           
 

Methods in rice.pastry.routing with parameters of type Id
 NodeHandle RouteSet.getHandle(Id id)
          Finds the NodeHandle associated with the NodeId.
 int RouteSet.getIndexHandle(Id id)
          Gets the index of the element with the given node id.
 boolean RouteSet.memberHandle(Id id)
          Verifies if the set contains this particular id.
 NodeHandle RouteSet.removeHandle(Id id)
          Removes a node id and its handle from the set.
 void RouteMessage.setDestinationId(Id id)
           
 

Uses of Id in rice.pastry.testing
 

Fields in rice.pastry.testing declared as Id
 Id HelloMsg.target
           
 

Constructors in rice.pastry.testing with parameters of type Id
HelloMsg(Address addr, NodeHandle src, Id tgt, int mid)
           
 

Uses of Id in rice.persistence
 

Methods in rice.persistence with parameters of type Id
 void Cache.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Caches an object in this storage.
 void EmptyCache.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Caches an object in this storage.
 void LRUCache.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Caches an object in this storage.
 void StorageManagerImpl.cache(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Caches an object in this storage.
 boolean Catalog.exists(Id id)
          Returns whether or not an object is present in the location id.
 boolean EmptyCache.exists(Id id)
          Returns whether or not an object is cached in the location id.
 boolean LRUCache.exists(Id id)
          Returns whether or not an object is cached in the location id.
 boolean MemoryStorage.exists(Id id)
          Returns whether or not the provided id exists
 boolean PersistentStorage.exists(Id id)
          Returns whether or not an object is present in the location id.
 boolean StorageManagerImpl.exists(Id id)
          Returns whether or not an object is present in the location id.
 java.io.Serializable Catalog.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 java.io.Serializable EmptyCache.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 java.io.Serializable LRUCache.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 java.io.Serializable MemoryStorage.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 java.io.Serializable PersistentStorage.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 java.io.Serializable StorageManagerImpl.getMetadata(Id id)
          Returns the metadata associated with the provided object, or null if no metadata exists.
 void Catalog.getObject(Id id, Continuation c)
          Returns the object identified by the given id, or null if there is no cooresponding object (through receiveResult on c).
 void EmptyCache.getObject(Id id, Continuation c)
          Returns the object identified by the given id.
 void LRUCache.getObject(Id id, Continuation c)
          Returns the object identified by the given id.
 void MemoryStorage.getObject(Id id, Continuation c)
          Returns the object identified by the given id, or null if there is no cooresponding object (through receiveResult on c).
 void PersistentStorage.getObject(Id id, Continuation c)
          Returns the object identified by the given id.
 void StorageManagerImpl.getObject(Id id, Continuation c)
          Returns the object identified by the given id, or null if there is no cooresponding object (through receiveResult on c).
 void Catalog.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void EmptyCache.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void LRUCache.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void MemoryStorage.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void PersistentStorage.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void StorageManagerImpl.rename(Id oldId, Id newId, Continuation c)
          Renames the given object to the new id.
 void Catalog.setMetadata(Id id, java.io.Serializable metadata, Continuation command)
          Updates the metadata stored under the given key to be the provided value.
 void EmptyCache.setMetadata(Id id, java.io.Serializable metadata, Continuation c)
          Updates the metadata stored under the given key to be the provided value.
 void LRUCache.setMetadata(Id id, java.io.Serializable metadata, Continuation command)
          Updates the metadata stored under the given key to be the provided value.
 void MemoryStorage.setMetadata(Id id, java.io.Serializable metadata, Continuation command)
          Updates the metadata stored under the given key to be the provided value.
 void PersistentStorage.setMetadata(Id id, java.io.Serializable metadata, Continuation c)
          Updates the metadata stored under the given key to be the provided value.
 void StorageManagerImpl.setMetadata(Id id, java.io.Serializable metadata, Continuation command)
          Updates the metadata stored under the given key to be the provided value.
 void MemoryStorage.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Stores the object under the key id.
 void PersistentStorage.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Makes the object persistent to disk and stored permanantly If the object is already persistent, this method will simply update the object's serialized image.
 void Storage.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Stores an object in this storage.
 void StorageManagerImpl.store(Id id, java.io.Serializable metadata, java.io.Serializable obj, Continuation c)
          Stores an object in this storage.
 void Cache.uncache(Id id, Continuation c)
          Removes the object from the list of cached objects.
 void EmptyCache.uncache(Id id, Continuation c)
          Removes the object from the list of cached objects.
 void LRUCache.uncache(Id id, Continuation c)
          Removes the object from the list of cached objects.
 void StorageManagerImpl.uncache(Id id, Continuation c)
          Removes the object from the list of cached objects.
 void MemoryStorage.unstore(Id id, Continuation c)
          Removes the object from the list of stored objects.
 void PersistentStorage.unstore(Id id, Continuation c)
          Request to remove the object from the list of persistend objects.
 void Storage.unstore(Id id, Continuation c)
          Removes the object from the list of stored objects.
 void StorageManagerImpl.unstore(Id id, Continuation c)
          Removes the object from the list of stored objects.
 

Uses of Id in rice.persistence.testing
 

Classes in rice.persistence.testing that implement Id
 class MemoryStorageTest.VariableId
           
 

Methods in rice.persistence.testing that return Id
 Id MemoryStorageTest.VariableId.addToId(Id.Distance offset)
           
 

Methods in rice.persistence.testing with parameters of type Id
 boolean MemoryStorageTest.VariableId.clockwise(Id nid)
           
 Id.Distance MemoryStorageTest.VariableId.distanceFromId(Id nid)
           
 boolean MemoryStorageTest.VariableId.isBetween(Id ccw, Id cw)
           
 Id.Distance MemoryStorageTest.VariableId.longDistanceFromId(Id nid)
           
 

Uses of Id in rice.post
 

Methods in rice.post that return Id
abstract  Id PostEntityAddress.getAddress()
           
 Id PostGroupAddress.getAddress()
          Returns the address associated with this useraddress
 Id PostUserAddress.getAddress()
          Returns the address associated with this useraddress
protected static Id PostEntityAddress.getId(IdFactory factory, java.lang.String string, Environment env)
          Utility method for creating the nodeId associated with a specific string.
 

Methods in rice.post with parameters of type Id
 void PostImpl.deliver(Id id, Message message)
          The method by which Pastry passes a message up to POST
 

Constructors in rice.post with parameters of type Id
ForwardLog(PostLog log, java.lang.String[] addresses, Id location, Post post, Continuation command)
          Constructor for ForwardLog.
 

Uses of Id in rice.post.delivery
 

Fields in rice.post.delivery declared as Id
protected  Id Delivery.DeliveryHandle.id
           
 

Methods in rice.post.delivery that return Id
 Id Delivery.DeliveryHandle.getId()
          get the id of the PastContent object associated with this handle
 Id DeliveryService.getIdForMessage(SignedPostMessage message)
           
 

Methods in rice.post.delivery with parameters of type Id
 void DeliveryService.check(Id id, Continuation command)
          Determines whether or not the given ENM has been delivered before
 void DeliveryService.delivered(SignedPostMessage message, Id id, byte[] signature, Continuation command)
          Records delivery of the given message to the user.
 void DeliveryPastImpl.fetch(Id id, NodeHandle hint, Continuation command)
          This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed.
protected  void DeliveryPastImpl.setMetadata(Id id, Continuation command)
          Either returns the userid associated with the given id by looking in the cache, or reads it off of disk.
 void DeliveryService.undeliverable(SignedPostMessage message, Id id, Continuation command)
          Records a message as being undeliverable, which will ensure that delivery won't be attempted again, but does not provide a receipt.
 

Constructors in rice.post.delivery with parameters of type Id
Delivery.DeliveryHandle(Id id, NodeHandle handle, long expiration)
          Constructor
Delivery(SignedPostMessage message, Id id)
          Constructor which takes the wrapped message
Receipt(SignedPostMessage message, Id id, byte[] signature)
          Constructor which takes the wrapped message
Undeliverable(SignedPostMessage message, Id id)
          Constructor which takes the wrapped message
 

Uses of Id in rice.post.log
 

Fields in rice.post.log declared as Id
protected  Id Log.location
          The location of this log in PAST.
 

Methods in rice.post.log that return Id
 Id Log.getLocation()
           
 

Methods in rice.post.log with parameters of type Id
 ContentHashReference Log.buildContentHashReference(Id[] location, byte[][] key)
          This method is not supported (you CAN NOT store a log as a content-hash block).
 ContentHashReference LogEntry.buildContentHashReference(Id[] location, byte[][] key)
          Builds a LogEntryReference object to this log, given a location and the encryption key
 SecureReference Log.buildSecureReference(Id location, byte[] key)
          This method is not supported (you CAN NOT store a log as a secure block).
 SecureReference LogEntry.buildSecureReference(Id location, byte[] key)
          This method is not supported (you CAN NOT store a log as a secure block).
 SignedReference Log.buildSignedReference(Id location)
          Builds a LogReference object to this log, given a location.
 SignedReference LogEntry.buildSignedReference(Id location)
          This method is not supported (you CAN NOT store a log entry as a public-key signed block).
 

Constructors in rice.post.log with parameters of type Id
CoalescedLog(java.lang.Object name, Id location, Post post, java.security.KeyPair keyPair)
          Constructs a Log for use in POST, with the provided number of coalesced log entries.
CoalescedLog(java.lang.Object name, Id location, Post post, java.security.KeyPair keyPair, byte[] cipherKey)
          Constructs a Log for use in POST, with the provided number of coalesced log entries.
EncryptedLog(java.lang.Object name, Id location, Post post, java.security.KeyPair keyPair)
          Constructs a Log for use in POST
EncryptedLog(java.lang.Object name, Id location, Post post, java.security.KeyPair keyPair, byte[] cipherKey)
           
Log(java.lang.Object name, Id location, Post post)
          Constructs a Log for use in POST
LogEntryReference(Id[] location, byte[][] key)
          Creates a new LogEntryReference.
LogReference(Id location)
          Creates a new reference to a particular Log object.
 

Uses of Id in rice.post.messaging
 

Methods in rice.post.messaging that return Id
 Id DeliveryLookupMessage.getId()
          Gets the random locaiton of this drm
 Id DeliveryMessage.getId()
           
 Id DeliveryRequestMessage.getId()
          Gets the random locaiton of this drm
 Id ReceiptMessage.getId()
          Gets the random locaiton of this drm
 Id PresenceMessage.getLocation()
          Gets the location of the user.
 

Methods in rice.post.messaging with parameters of type Id
 void DeliveryMessage.setId(Id id)
           
 

Constructors in rice.post.messaging with parameters of type Id
DeliveryLookupMessage(PostEntityAddress sender, NodeHandle source, Id id)
          Constructs a DeliveryLookupMessage
DeliveryMessage(PostEntityAddress sender, PostEntityAddress destination, Id id, SignedPostMessage message)
          Constructs a DeliveryMessage
DeliveryRequestMessage(PostEntityAddress sender, PostUserAddress destination, SignedPostMessage message, Id id)
          Constructs a DeliveryRequestMessage
ReceiptMessage(PostEntityAddress sender, Id id, SignedPostMessage message)
          Constructs a PresenceMessage
 

Uses of Id in rice.post.proxy
 

Fields in rice.post.proxy declared as Id
protected  Id PostProxy.ringId
          The ring Id
 

Methods in rice.post.proxy that return Id
protected  Id PostProxy.generateRingId(java.lang.String name)
          Method which builds a ring id given a string to hash.
 

Uses of Id in rice.post.storage
 

Methods in rice.post.storage that return Id
 Id SecureReference.getLocation()
           
 Id SignedReference.getLocation()
           
 Id[] ContentHashReference.getLocations()
           
 Id StorageService.getRandomNodeId()
           
 

Methods in rice.post.storage with parameters of type Id
 ContentHashReference GroupData.buildContentHashReference(Id[] location, byte[][] key)
          This method dynamically builds an appropriate ContentHashReference for this type of PostData given a location and key.
 ContentHashReference PostData.buildContentHashReference(Id[] locations, byte[][] keys)
          This method dynamically builds an appropriate ContentHashReference for this type of PostData given a location and key.
 SecureReference GroupData.buildSecureReference(Id location, byte[] key)
          This method dynamically builds an appropriate SecureReference for this type of PostData given a location and key.
 SecureReference PostData.buildSecureReference(Id location, byte[] key)
          This method dynamically builds an appropriate SecureReference for this type of PostData given a location and key.
 SignedReference GroupData.buildSignedReference(Id location)
          This method dynamically builds an appropriate SignedReference for this type of PostData given a location.
 SignedReference PostData.buildSignedReference(Id location)
          This method dynamically builds an appropriate SignedReference for this type of PostData given a location.
 PastContent SignedData.checkInsert(Id id, PastContent existingContent)
          Checks if a insert operation should be allowed.
 void PostPastPolicy.fetch(Id id, NodeHandle hint, Cache backup, Past past, Continuation command)
          This method fetches the object via a lookup() call.
static void StorageService.recoverLogs(Id location, long timestamp, java.security.KeyPair keyPair, Past immutablePast, Past mutablePast, Continuation command, Environment env, Logger logger)
          This method performs an emergency recovery of the logs by reinserting them into the provided PAST store.
 void StorageService.retrieveContentHashEntry(Id location, byte[] key, Continuation command)
          This method retrieves a single content hash entry and verifies it.
 void StorageService.storeSigned(PostData data, Id location, Continuation command)
          Stores a PostData in the PAST store by signing the content and storing it at a well-known location.
protected static void StorageService.storeSigned(PostData data, Id location, long time, long expiration, java.security.KeyPair keyPair, Past past, Continuation command)
          Stores a PostData in the PAST store by signing the content and storing it at a well-known location.
 

Constructors in rice.post.storage with parameters of type Id
ContentHashReference(Id[] locations, byte[][] keys)
          Contructs a PostDataReference object given the address and encryption key of the object.
SecureReference(Id location, byte[] key)
          Contructs a SecureReference object given the address and encryption key of the object.
SignedData(Id location, byte[] data, byte[] timestamp)
          Builds a SignedData for a byte array given a timestamp.
SignedReference(Id location)
          Contructs a PostDataReference object given the address of the object.
StorageException(Id location, java.lang.String msg)
          Constructor.
 

Uses of Id in rice.tutorial.lesson3
 

Methods in rice.tutorial.lesson3 with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Constructors in rice.tutorial.lesson3 with parameters of type Id
MyMsg(Id from, Id to)
          Constructor.
 

Uses of Id in rice.tutorial.lesson4
 

Methods in rice.tutorial.lesson4 with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Constructors in rice.tutorial.lesson4 with parameters of type Id
MyMsg(Id from, Id to)
          Constructor.
 

Uses of Id in rice.tutorial.lesson5
 

Methods in rice.tutorial.lesson5 with parameters of type Id
 void MyApp.deliver(Id id, Message message)
          Called when we receive a message.
 void MyApp.routeMyMsg(Id id)
          Called to route a message to the id
 

Uses of Id in rice.tutorial.lesson6
 

Methods in rice.tutorial.lesson6 with parameters of type Id
 void MyScribeClient.deliver(Id id, Message message)
          Part of the Application interface.
 

Uses of Id in rice.tutorial.lesson7
 

Constructors in rice.tutorial.lesson7 with parameters of type Id
MyPastContent(Id id, java.lang.String content)
          Takes an environment for the timestamp An IdFactory to generate the hash The content to be stored.
 

Uses of Id in rice.visualization
 

Fields in rice.visualization declared as Id
protected  Id VisualizationNode.id
           
 

Methods in rice.visualization that return Id
 Id VisualizationNode.getId()
           
 

Methods in rice.visualization with parameters of type Id
 java.awt.Dimension PastryRingPanel.getTextLocation(Id id)
           
 java.awt.Dimension PastryRingPanel.idToLocation(Id id)
           
 java.awt.Point Ring.idToLocation(Id id, java.awt.Point center, int radius)
           
protected  void PastryRingPanel.paintConnection(java.awt.Graphics g, Id id1, Id id2, java.awt.Color c)
           
 

Constructors in rice.visualization with parameters of type Id
VisualizationNode(Id id, boolean alive, boolean fault, java.net.InetSocketAddress address)
           
 


ePOST API

Copyright © 2001-2005 - Rice Pastry.