cz.cuni.pogamut.MessageObjects
Class Command
java.lang.Object
cz.cuni.pogamut.MessageObjects.Command
public class Command
- extends java.lang.Object
Command is a wrapper for string which contain command content and command type (e. g. RUN)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
private CommandTypes type
content
private java.lang.String content
Command
public Command(java.lang.String content,
CommandTypes type)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getType
public CommandTypes getType()