copyright The Portico Project 2008.

org.portico.shared.msg
Class FED_ProvideUpdate

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_ProvideUpdate
All Implemented Interfaces:
Serializable

public class FED_ProvideUpdate
extends FED_CallbackMessage

This message represents a request for the target federate to send out an update for a specific set of attributes of a specific object instance. It will be sent in response to a federate issuing a requestObjectAttributeValueUpdate() or requestClassAttributeValueUpdate().

See Also:
Serialized Form

Field Summary
private  Set<Integer> attributes
           
private  int objectId
           
private static long serialVersionUID
           
private  byte[] tag
           
 
Fields inherited from class org.portico.shared.msg.FED_CallbackMessage
targetFederate, timestamp
 
Constructor Summary
FED_ProvideUpdate()
           
FED_ProvideUpdate(int objectId, Set<Integer> attributes)
           
FED_ProvideUpdate(int objectId, Set<Integer> attributes, byte[] tag)
           
 
Method Summary
 Set<Integer> getAttributes()
           
 int getObjectId()
           
 byte[] getTag()
           
 void setAttributes(Set<Integer> attributes)
           
 void setObjectId(int objectId)
           
 void setTag(byte[] tag)
           
 
Methods inherited from class org.portico.shared.msg.FED_CallbackMessage
getTargetFederate, getTimestamp, isAdvanceGrant, isPriority, isSpecDefinedMessage, isTimestamped, readExternal, setTargetFederate, setTimestamp, 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

objectId

private int objectId

attributes

private Set<Integer> attributes

tag

private byte[] tag
Constructor Detail

FED_ProvideUpdate

public FED_ProvideUpdate()

FED_ProvideUpdate

public FED_ProvideUpdate(int objectId,
                         Set<Integer> attributes)

FED_ProvideUpdate

public FED_ProvideUpdate(int objectId,
                         Set<Integer> attributes,
                         byte[] tag)
Method Detail

getAttributes

public Set<Integer> getAttributes()

setAttributes

public void setAttributes(Set<Integer> attributes)

getObjectId

public int getObjectId()

setObjectId

public void setObjectId(int objectId)

getTag

public byte[] getTag()

setTag

public void setTag(byte[] tag)

copyright The Portico Project 2008.