copyright The Portico Project 2008.

org.portico.shared.msg
Class FED_AdvanceGranted

java.lang.Object
  extended by com.lbf.commons.messaging.RequestMessage
      extended by org.portico.shared.msg.FED_CallbackMessage
          extended by 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

Field Summary
private static long serialVersionUID
           
private  double time
           
 
Fields inherited from class org.portico.shared.msg.FED_CallbackMessage
targetFederate, timestamp
 
Constructor Summary
FED_AdvanceGranted()
           
FED_AdvanceGranted(double newTime)
           
 
Method Summary
 double getTime()
           
 boolean isAdvanceGrant()
           
 void readExternal(ObjectInput input)
           
 void setTime(double newTime)
           
 void writeExternal(ObjectOutput output)
           
 
Methods inherited from class org.portico.shared.msg.FED_CallbackMessage
getTargetFederate, getTimestamp, isPriority, isSpecDefinedMessage, isTimestamped, setTargetFederate, setTimestamp
 
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

time

private double time
Constructor Detail

FED_AdvanceGranted

public FED_AdvanceGranted()

FED_AdvanceGranted

public FED_AdvanceGranted(double newTime)
Method Detail

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

copyright The Portico Project 2008.