|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--jxtaimpl.RequestSet
This class maps RequestIds to appropriate ResponseListeners
| Field Summary |
| Fields inherited from interface anthill.nest.RequestSet |
NAME |
| Constructor Summary | |
RequestSet()
This is the default constructor |
|
| Method Summary | |
void |
add(RequestId rId,
ResponseListener rLstn)
Add a new entry |
void |
clear()
Bring this object's initial state back |
boolean |
returnResources(RequestId rId,
Resource[] res)
Return the specified array of resources to the listener associated with the given RequestId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RequestSet()
| Method Detail |
public void add(RequestId rId,
ResponseListener rLstn)
add in interface RequestSetrId - the key that will be used later to obtain the
listenerrLstn - the listener which will be notified when
a response is available
public boolean returnResources(RequestId rId,
Resource[] res)
returnResources in interface RequestSetrId - the key that is used to obtain listenerres - the resources found.public void clear()
clear in interface Clearable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||