copyright The Portico Project 2008.

org.portico.shared.msg
Class RTI_CreateFederation

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

public class RTI_CreateFederation
extends RTI_RequestMessage

Contains information relating to a request to create a new federation. Not all the variables are intended for use within the RTI. Initially, only the federation name and fom URL are provided, but in the LRC handler the fom URL should be parsed and the ObjectModel variable should be filled out with the in-memory representation of the FOM. The message should then be sent to the RTI where the model can be easily extracted and stored.

See Also:
Serialized Form

Field Summary
private  String federationName
           
private  URL fomURL
           
private  ObjectModel model
           
private static long serialVersionUID
           
 
Fields inherited from class org.portico.shared.msg.RTI_RequestMessage
targetFederate, timestamp
 
Constructor Summary
RTI_CreateFederation()
           
RTI_CreateFederation(String federationName, URL model)
           
 
Method Summary
 String getFederationName()
           
 ObjectModel getModel()
           
 URL getURL()
           
 void setFederationName(String federationName)
           
 void setModel(ObjectModel model)
           
 void setURL(URL model)
           
 
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

federationName

private String federationName

fomURL

private URL fomURL

model

private ObjectModel model
Constructor Detail

RTI_CreateFederation

public RTI_CreateFederation()

RTI_CreateFederation

public RTI_CreateFederation(String federationName,
                            URL model)
Method Detail

getFederationName

public String getFederationName()

setFederationName

public void setFederationName(String federationName)

getURL

public URL getURL()

setURL

public void setURL(URL model)

setModel

public void setModel(ObjectModel model)

getModel

public ObjectModel getModel()

copyright The Portico Project 2008.