|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elvyx.client.command.MessageHandler
public class MessageHandler
Manage messages. It loads dynamically commands and send it to the server.
| Constructor Summary | |
|---|---|
MessageHandler(java.lang.String cmd)
This constructor, load the command instance |
|
| Method Summary | |
|---|---|
Response |
execute()
This methos allow execute the command without set parameters |
Response |
execute(java.lang.Object parameters)
This method execute commands. |
Command |
getCommand()
Return the command |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageHandler(java.lang.String cmd)
throws CommandException
CommandException| Method Detail |
|---|
public Response execute(java.lang.Object parameters)
throws CommandException
parameters -
CommandException
public Response execute()
throws CommandException
CommandExceptionpublic Command getCommand()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||