org.dfdaemon.il2.spi.command
Interface CommandExecutor

All Known Implementing Classes:
AbstractCommandExecutor, TelnetCommandExecutor

public interface CommandExecutor

Author:
aka50

Method Summary
 void addCommandParser(Class cmdClz, CommandParser<?,? extends Command<?>> cmdPareser)
           
 void addLineFilter(LineFilter lineFilter)
           
<C extends Command<R>,R>
R
executeCommand(C cmd)
           
 

Method Detail

executeCommand

<C extends Command<R>,R> R executeCommand(C cmd)
                 throws CommandException,
                        InterruptedException
Throws:
CommandException
InterruptedException

addLineFilter

void addLineFilter(LineFilter lineFilter)

addCommandParser

void addCommandParser(Class cmdClz,
                      CommandParser<?,? extends Command<?>> cmdPareser)


Copyright © 2007-2008. All Rights Reserved.