public final class TimeCommand extends BaseMessage implements java.io.Serializable, ITimeCommand
Constructor and Description |
---|
TimeCommand(IIdentifier source,
double whatTimeIsIt) |
Modifier and Type | Method and Description |
---|---|
IMessage |
copy() |
double |
getTime()
what time is it?
|
getMessageId, getSource, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessageId, getSource
public TimeCommand(IIdentifier source, double whatTimeIsIt)
source
- public double getTime()
ITimeCommand
getTime
in interface ITimeCommand
ITimeCommand.getTime()