|
ePOST API | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RingId | |
|---|---|
| rice.p2p.multiring | |
| rice.p2p.multiring.messaging | |
| Uses of RingId in rice.p2p.multiring |
|---|
| Methods in rice.p2p.multiring that return RingId | |
|---|---|
static RingId |
RingId.build(Id ringId,
Id id)
Constructor. |
static RingId |
RingId.build(java.lang.String s)
Method which splits apart a ringid string and returns the RingID |
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. |
| Methods in rice.p2p.multiring with parameters of type RingId | |
|---|---|
protected void |
MultiringEndpoint.deliver(RingId id,
Message target)
Internal method which delivers the message to the application |
protected int |
MultiringNodeCollection.getLength(RingId a)
This method returns the length of the given ringId |
protected int |
MultiringNodeCollection.getLengthOfSharedPrefix(RingId a,
RingId b)
This method returns the length of the shared prefix, in bytes, of the two provided ringIds by comparing the ring values. |
protected void |
MultiringNodeCollection.route(RingId id,
Message message,
java.lang.String application)
This method returns the best next-hop to a given target, using ring hopping, if one exists. |
| Uses of RingId in rice.p2p.multiring.messaging |
|---|
| Fields in rice.p2p.multiring.messaging declared as RingId | |
|---|---|
protected RingId |
RingMessage.id
The target of this ring message |
| Methods in rice.p2p.multiring.messaging that return RingId | |
|---|---|
RingId |
RingMessage.getId()
Method which returns this messages' id |
| Constructors in rice.p2p.multiring.messaging with parameters of type RingId | |
|---|---|
RingMessage(RingId id,
Message message,
java.lang.String application)
Constructor which takes a unique integer Id |
|
|
ePOST API | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||