|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.SIRAPRISE.client.ServerCommand
public abstract class ServerCommand
A ServerCommand is any command that can get sent to the SIRA_PRISE server
Constructor Summary | |
---|---|
ServerCommand()
|
Method Summary | |
---|---|
static ServerCommand |
getCommandObjectFor(java.lang.String commandName,
java.lang.String commandContent)
Factory method for obtaining command objects, given a command name and the corresponding command options in texutal format |
static ServerCommand |
getCommandObjectFrom(java.lang.String commandText)
Factory method for obtaining command objects, given a fulltext command such as "ASSERT R,R(...)" or "CMD(...)CMD(...)" |
abstract java.lang.String |
getCommandParametersText()
Gets the full textual representation of the command's parameters |
abstract java.lang.String |
getFullCommandText()
Gets the full textual representation of the command |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServerCommand()
Method Detail |
---|
public static ServerCommand getCommandObjectFor(java.lang.String commandName, java.lang.String commandContent) throws NotFoundException, IllegalServerCommandException
commandName
- The name, or alias, of the commandcommandContent
- The command options to be represented in the returned ServerCommand object
NotFoundException
IllegalServerCommandException
public static ServerCommand getCommandObjectFrom(java.lang.String commandText) throws NotFoundException, IllegalServerCommandException
commandText
- A complete SIRA_PRISE command
NotFoundException
IllegalServerCommandException
public abstract java.lang.String getFullCommandText()
public abstract java.lang.String getCommandParametersText()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |