public interface RemoteCommandManager extends CommandSenderProvider
RemoteConnection.| Modifier and Type | Method and Description | 
|---|---|
| void | startReading(RemoteConnection connection,
            String connectionName)Starts to read and execute the commands from the given  CommandReader. | 
| void | startReading(RemoteConnection connection,
            String connectionName,
            RemoteConnectionListener listener)Starts to read and execute the commands from the given  CommandReader. | 
| void | stopAll()Stops all the connections. | 
| void | stopReading(RemoteConnection connection)Stops reading the commands from the given  CommandReader. | 
getCommandSenders, registerListenervoid startReading(RemoteConnection connection, String connectionName)
CommandReader.
 A new thread is created.
 This method behaves exactly as if it simply performs the call startReading(connection, null).
connection - the connection to read.connectionName - the name of the connection to read.void startReading(RemoteConnection connection, String connectionName, RemoteConnectionListener listener)
CommandReader.
 A new thread is created.
connection - the connection to read.listener - the associated listener.connectionName - the name of the connection to read.void stopAll()
void stopReading(RemoteConnection connection)
CommandReader.connection - the connection to stop to read.