C - the consumed element generic typeP - the produced element generic typepublic abstract class CommandInvoker<C,P> extends Object implements Filter<C,P,CommandContext<? super P>>
CommandContext kind of consumer.| Constructor and Description |
|---|
CommandInvoker() |
| Modifier and Type | Method and Description |
|---|---|
KeyHandler |
getKeyHandler()
Return the key handler or null if the invoker cannot handler key events.
|
void |
invoke(CommandContext<? super P> consumer)
Invoke the command.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConsumedType, provideclose, getProducedType, openpublic CommandInvoker()
public final void invoke(CommandContext<? super P> consumer) throws IOException
consumer - the consumer for this invocationIOException - any io exceptionpublic KeyHandler getKeyHandler()
Copyright © 2014 eXo Platform SAS. All Rights Reserved.