|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.engine.handler.AbstractProducer jtge.engine.handler.AbstractHandler jtge.engine.handler.Buffer
Provides a handler to bufferize commands.
This handler bufferizes and multiplexes received commands and releases the resulting command when triggered.
Constructor Summary | |
Buffer(IConsumer consumer)
Create a new buffer handler. |
Method Summary | |
void |
handle(ICommand command)
Handle a command. |
void |
release()
Forward the bufferized resulting command to the target consumer. |
Methods inherited from class jtge.engine.handler.AbstractProducer |
forward |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Buffer(IConsumer consumer)
consumer
- the target consumerMethod Detail |
public final void handle(ICommand command)
command
- the command to handlepublic final void release()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |