|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the methods needed to implement a DispatchQueue
Method Summary | |
void |
addEvent(BaseEvent baseEvent)
Adds an event to the queue. |
List |
listProcessedEvents()
List events which have already been processed through the queue |
List |
listRemainingEvents()
List all events remaining in the queue (Request events first, then Response events) |
int |
numberOfEventsProcessed()
get the number of events that have been processed |
int |
numberOfEventsRemaining()
get the number of events remaining in the queue |
boolean |
requiresResponse()
Does this queue require a response? |
boolean |
responseHandled()
Has the response for this queue been handled? |
void |
setRequiresResponse(boolean val)
Programatically tell the dispatcher that a response is required |
void |
setResponseHandled(boolean val)
Programatically tell the dispatcher that the response has been handled |
Method Detail |
public boolean requiresResponse()
public void setRequiresResponse(boolean val)
public boolean responseHandled()
public void setResponseHandled(boolean val)
public void addEvent(BaseEvent baseEvent)
baseEvent
- the event to be added to the queuepublic int numberOfEventsRemaining()
public List listRemainingEvents()
public int numberOfEventsProcessed()
public List listProcessedEvents()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |