public interface CommandHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleCommand(Command command,
Session session)
Handle the specified command for the session.
|
void handleCommand(Command command, Session session) throws java.lang.Exception
command - - the Command to be handledsession - - the session on which the Command was submittedjava.lang.Exception - - if an error occurs