autohit.server.command
Interface CommandServer

All Known Implementing Classes:
CommandServerLocal

public interface CommandServer

Command server interface

Version:
1.0 Version HistoryEPG - Initial - 25Jul03
Author:
Erich P. Gatejen

Method Summary
 java.lang.String execute(CommandAtom cmd)
          Execute a command.
 void init(SystemContext c)
          Initialize.
 

Method Detail

init

public void init(SystemContext c)
          throws ServerException
Initialize. You can call this as often as you want, but must be called at least once.

Parameters:
c - the SystemContext
Throws:
a - ServerException if unable to initialize
ServerException

execute

public java.lang.String execute(CommandAtom cmd)
                         throws ServerException
Execute a command.

Parameters:
cmd - is a command atom
Returns:
printable string of some form. not defined by the interface.
Throws:
ServerException


Test.