copyright The Portico Project 2008.

org.portico.shared.msg
Class RTI_EnableTimeRegulation

java.lang.Object
  extended by com.lbf.commons.messaging.RequestMessage
      extended by org.portico.shared.msg.RTI_RequestMessage
          extended by org.portico.shared.msg.RTI_EnableTimeRegulation
All Implemented Interfaces:
Serializable

public class RTI_EnableTimeRegulation
extends RTI_RequestMessage

This message represents a request to enable time regulation for the given federate. The desired federate time it provided, along with the requested lookahead value.

See Also:
Serialized Form

Field Summary
private  double federateTime
           
private  double lookahead
           
private static long serialVersionUID
           
 
Fields inherited from class org.portico.shared.msg.RTI_RequestMessage
targetFederate, timestamp
 
Constructor Summary
RTI_EnableTimeRegulation()
           
RTI_EnableTimeRegulation(double federateTime, double lookahead)
           
 
Method Summary
 double getFederateTime()
           
 double getLookahead()
           
 void setFederateTime(double federateTime)
           
 void setLookahead(double lookahead)
           
 
Methods inherited from class org.portico.shared.msg.RTI_RequestMessage
bytesToString, getTargetFederate, getTimestamp, isTimestamped, readExternal, setTargetFederate, setTimestamp, stringToBytes, writeExternal
 
Methods inherited from class com.lbf.commons.messaging.RequestMessage
getIdentifier, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

federateTime

private double federateTime

lookahead

private double lookahead
Constructor Detail

RTI_EnableTimeRegulation

public RTI_EnableTimeRegulation()

RTI_EnableTimeRegulation

public RTI_EnableTimeRegulation(double federateTime,
                                double lookahead)
Method Detail

getFederateTime

public double getFederateTime()

setFederateTime

public void setFederateTime(double federateTime)

getLookahead

public double getLookahead()

setLookahead

public void setLookahead(double lookahead)

copyright The Portico Project 2008.