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