org.portico.shared.msg
Class FED_AdvanceGranted
java.lang.Object
com.lbf.commons.messaging.RequestMessage
org.portico.shared.msg.FED_CallbackMessage
org.portico.shared.msg.FED_AdvanceGranted
- All Implemented Interfaces:
- Externalizable, Serializable
public class FED_AdvanceGranted
- extends FED_CallbackMessage
- implements Externalizable
Callback to inform the target federate that it has received an advance grant to the given time
- See Also:
- Serialized Form
Methods inherited from class com.lbf.commons.messaging.RequestMessage |
getIdentifier, toString |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
time
private double time
FED_AdvanceGranted
public FED_AdvanceGranted()
FED_AdvanceGranted
public FED_AdvanceGranted(double newTime)
getTime
public double getTime()
setTime
public void setTime(double newTime)
isAdvanceGrant
public boolean isAdvanceGrant()
- Overrides:
isAdvanceGrant
in class FED_CallbackMessage
readExternal
public void readExternal(ObjectInput input)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class FED_CallbackMessage
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput output)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class FED_CallbackMessage
- Throws:
IOException