|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A listener that is called when peers and groups are discovered, finds are started, completed, or timed out.
Method Summary | |
void |
discoveredGroups(PBFindMarker marker,
java.util.ArrayList groups)
Notify listener that groups were discovered. |
void |
discoveredPeers(PBFindMarker marker,
java.util.ArrayList peers)
Notify listener that peers were discovered. |
void |
findCancelled(PBFindMarker marker)
Notify listener that a find attempt was cancelled. |
void |
findFinished(PBFindMarker marker)
Notify listener that a find attempt has finished. |
void |
findStarted(PBFindMarker marker)
Notify listener that a find attempt was started. |
Method Detail |
public void discoveredPeers(PBFindMarker marker, java.util.ArrayList peers)
marker
- marker representing the find attempt for which the results
are being returned.peers
- an arraylist of peers that were foundpublic void discoveredGroups(PBFindMarker marker, java.util.ArrayList groups)
marker
- marker representing the find attempt for which the results
are being returned.groups
- an arraylist of groups that were foundpublic void findStarted(PBFindMarker marker)
marker
- marker representing the find attempt which was startedpublic void findFinished(PBFindMarker marker)
marker
- marker representing the find attempt which finishedpublic void findCancelled(PBFindMarker marker)
marker
- marker representing the find attempt which was cancelled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |