| 
 | QuickServer v1.4.7 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the methods that should be implemented by any class that wants to override default protocol of QsAdminServer or add new command specific to your application.
Recommendations to be followed when implementing ClientCommandHandler
ClientData class, which can be retrieved 
 using handler.getClientData() method.
 QuickServer myserver = (QuickServer) handler.getServer().getStoreObjects()[0];
 
QSAdminServer.startServer()| Method Summary | |
|  boolean | handleCommand(ClientHandler handler,
              java.lang.String command)Method called every time client sends a command to QsAdminServer. | 
| Method Detail | 
public boolean handleCommand(ClientHandler handler,
                             java.lang.String command)
                      throws java.net.SocketTimeoutException,
                             java.io.IOException
true else it should return false
 indicating qsadmin.CommandHandler to take any 
 default action for the command.
 This method can be used to override default protocol of 
 QsAdminServer or add new command specific to your application.
java.net.SocketTimeoutException - if socket times out
java.io.IOException - if io error in socket| 
 | QuickServer v1.4.7 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||