|
|||||||||||
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.Sort
Provides a means to sort received commands.
Constructor Summary | |
Sort(IConsumer consumer,
ISorter sorter)
Create a sort handler. |
Method Summary | |
void |
handle(ICommand command)
Handle a command. |
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 Sort(IConsumer consumer, ISorter sorter)
consumer
- the target consumersorter
- the sorter algorithmMethod Detail |
public final void handle(ICommand command)
command
- the command to handle
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |