public class UnknownCommandFactory extends Object implements CommandFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
FACTORY_NAME |
static UnknownCommandFactory |
INSTANCE |
| Constructor and Description |
|---|
UnknownCommandFactory() |
| Modifier and Type | Method and Description |
|---|---|
Command |
createCommand(ChannelSession channel,
String command)
Create a command with the given name.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsplitpublic static final String FACTORY_NAME
public static final UnknownCommandFactory INSTANCE
public Command createCommand(ChannelSession channel, String command)
CommandFactorycreateCommand in interface CommandFactorychannel - The ChannelSession through which the command
has been receivedcommand - The command that will be runnull Command instanceCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.