S
- public abstract class UnknownCommandHandler<S extends ProtocolSession> extends Object implements CommandHandler<S>
CommandHandler
implementation which should be extended by CommandHandler
's which should get called for unknown command. So this is some kind
of a fallback CommandHandler
which will get executed if no other matching CommandHandler
could be found for a given command.Modifier and Type | Field and Description |
---|---|
static String |
COMMAND_IDENTIFIER
Identifier which is used in
getImplCommands() |
Constructor and Description |
---|
UnknownCommandHandler() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getImplCommands()
Return a Collection of implemented commands
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onCommand
public static final String COMMAND_IDENTIFIER
getImplCommands()
public Collection<String> getImplCommands()
CommandHandler
getImplCommands
in interface CommandHandler<S extends ProtocolSession>
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.