Package ej.rcommand.impl
Class GatewayRemoteCommandManager
- java.lang.Object
-
- ej.rcommand.impl.DefaultRemoteCommandManager
-
- ej.rcommand.impl.GatewayRemoteCommandManager
-
- All Implemented Interfaces:
CommandSenderProvider,RemoteCommandManager
public class GatewayRemoteCommandManager extends DefaultRemoteCommandManager
ARemoteCommandManagerthat dispatches all the unknown command to theCommandSender.
-
-
Constructor Summary
Constructors Constructor Description GatewayRemoteCommandManager()GatewayRemoteCommandManager(boolean overwrite)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RemoteCommandListenergetListenerFor(String command)Returns theRemoteConnectionListenerfor the given command.-
Methods inherited from class ej.rcommand.impl.DefaultRemoteCommandManager
getCommandSenders, getRegisteredCommands, onError, registerListener, sendNotification, startReading, startReading, startReading, startReading, stopAll, stopReading
-
-
-
-
Method Detail
-
getListenerFor
@Nullable protected RemoteCommandListener getListenerFor(String command)
Description copied from class:DefaultRemoteCommandManagerReturns theRemoteConnectionListenerfor the given command.- Overrides:
getListenerForin classDefaultRemoteCommandManager
-
-