|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GuidMap
A map of one GUID to another. This supports the ability to declare that the mapping should expire at a certain time. If no time is specified, the mapping may expire at a default interval.
| Method Summary | |
|---|---|
void |
addMapping(byte[] origGUID,
byte[] newGUID)
Adds a mapping between the original guid and the new GUID. |
void |
addMapping(byte[] origGUID,
byte[] newGUID,
long expireInterval)
Adds a mapping between the original guid and the new GUID. |
GUID |
getNewGUID(GUID origGUID)
Gets the newGUID, given the origGUID. |
byte[] |
getOriginalGUID(byte[] newGUID)
Gets the origGUID, given the newGUID. |
| Method Detail |
|---|
void addMapping(byte[] origGUID,
byte[] newGUID)
void addMapping(byte[] origGUID,
byte[] newGUID,
long expireInterval)
byte[] getOriginalGUID(byte[] newGUID)
GUID getNewGUID(GUID origGUID)
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||