|
Lightweight Bartering Grid | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlbg.searchengine.service.LiveSearchEngineHandle
public class LiveSearchEngineHandle
| Constructor Summary | |
|---|---|
LiveSearchEngineHandle(java.lang.String id,
java.lang.String host,
int port)
|
|
| Method Summary | |
|---|---|
void |
add(ExternalPeerHandle handle)
Adds a handle to this SearchEngine. |
SearchEngineResponse |
getHandles()
Gets all handles that this engine currently knows. |
SearchEngineResponse |
getHandles(long since)
Gets handles newer than a specified time. |
java.lang.String |
id()
Returns this engine's ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LiveSearchEngineHandle(java.lang.String id,
java.lang.String host,
int port)
throws GridException
GridException| Method Detail |
|---|
public void add(ExternalPeerHandle handle)
throws GridException
SearchEngineHandle
add in interface SearchEngineHandlehandle - The handle to add
GridException - If the handle is invalid
public SearchEngineResponse getHandles()
throws GridException
SearchEngineHandle
getHandles in interface SearchEngineHandleGridException
public SearchEngineResponse getHandles(long since)
throws GridException
SearchEngineHandle
getHandles in interface SearchEngineHandlesince - Timestamp of the last response
GridExceptionpublic java.lang.String id()
SearchEngineHandle
id in interface SearchEngineHandle
|
Lightweight Bartering Grid | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.