|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UpdateHandler
| Method Summary | |
|---|---|
void |
addListener(EventListener<UpdateEvent> listener)
|
byte[] |
getLatestBytes()
Gets the bytes to send on the wire. |
int |
getLatestId()
Retrieves the latest id available. |
byte[] |
getOldUpdateResponse()
Returns the final bytes that the old key system used for update responses. |
UpdateCollection |
getUpdateCollection()
Returns the currently known update collection. |
void |
handleNewData(byte[] data,
ReplyHandler handler)
Notification that a new message has arrived. |
void |
handleUpdateAvailable(ReplyHandler rh,
int version)
Notification that a ReplyHandler has received a VM containing an update. |
void |
initialize()
Initializes data as read from disk. |
void |
inNetworkDownloadFinished(URN urn,
boolean good)
Notifies this that an update with the given URN has finished downloading. |
boolean |
removeListener(EventListener<UpdateEvent> listener)
|
| Method Detail |
|---|
void initialize()
void handleUpdateAvailable(ReplyHandler rh,
int version)
void handleNewData(byte[] data,
ReplyHandler handler)
int getLatestId()
byte[] getLatestBytes()
void inNetworkDownloadFinished(URN urn,
boolean good)
byte[] getOldUpdateResponse()
UpdateCollection getUpdateCollection()
void addListener(EventListener<UpdateEvent> listener)
boolean removeListener(EventListener<UpdateEvent> listener)
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||