org.commonreality.message.request.time
Class RequestTime

java.lang.Object
  extended by org.commonreality.message.impl.BaseMessage
      extended by org.commonreality.message.request.time.RequestTime
All Implemented Interfaces:
java.io.Serializable, IMessage, IRequest, IRequestTime

public class RequestTime
extends BaseMessage
implements IRequestTime, java.io.Serializable

Author:
developer
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.commonreality.message.request.time.IRequestTime
ANY_CHANGE
 
Constructor Summary
RequestTime(IIdentifier source, double whatTimeShouldItBe)
           
 
Method Summary
 boolean acknowledgementRequired()
          if the sender of this request requires acknowledgment
 IMessage copy()
           
 double getTime()
          what time does the issuer want it to be?
 java.lang.String toString()
           
 
Methods inherited from class org.commonreality.message.impl.BaseMessage
getMessageId, getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.commonreality.message.IMessage
getMessageId, getSource
 

Constructor Detail

RequestTime

public RequestTime(IIdentifier source,
                   double whatTimeShouldItBe)
Parameters:
source -
Method Detail

getTime

public double getTime()
Description copied from interface: IRequestTime
what time does the issuer want it to be?

Specified by:
getTime in interface IRequestTime
Returns:
See Also:
IRequestTime.getTime()

acknowledgementRequired

public boolean acknowledgementRequired()
Description copied from interface: IRequest
if the sender of this request requires acknowledgment

Specified by:
acknowledgementRequired in interface IRequest
Returns:
See Also:
IRequest.acknowledgementRequired()

toString

public java.lang.String toString()
Overrides:
toString in class BaseMessage

copy

public IMessage copy()
Specified by:
copy in interface IMessage