|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eodisp.hla.crc.Crc
@ThreadSafe public class Crc
This class implements the basic functionality of the Central RTI Component (RTI).
Field Summary | |
---|---|
(package private) static org.apache.log4j.Logger |
logger
Log4J logger for this class |
Constructor Summary | |
---|---|
Crc()
|
Method Summary | |
---|---|
(package private) FederationExecution |
createFederationExecution(java.lang.String federationExecutionName,
byte[] fdd)
Creates a new federation execution. |
(package private) void |
destroyAllFederationExecutions()
Deprecated. Use for testing only! |
(package private) void |
destroyFederationExecution(java.lang.String federationExecutionName)
Implements HLA service 4.3 (See IEEE Std 1516.1-2000). |
(package private) FederationExecution |
getFederationExecution(java.lang.String federationExecutionName)
Returns the federation execution with the given name. |
(package private) LrcRemote |
getLrcRemote(LrcHandle lrcHandle)
|
(package private) FederateHandle |
joinFederationExecution(java.lang.String federationExecutionName,
java.lang.String federateType,
LrcHandle lrcHandle,
MobileFederateServices serviceReferences)
|
(package private) LrcHandle |
registerLrc(LrcRemote lrcRemote)
|
(package private) void |
reset()
Deprecated. Use for testing only! |
(package private) void |
unregisterLrc(LrcHandle lrcHandle)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static org.apache.log4j.Logger logger
Constructor Detail |
---|
public Crc()
Method Detail |
---|
FederationExecution createFederationExecution(java.lang.String federationExecutionName, byte[] fdd) throws FederationExecutionAlreadyExists, ErrorReadingFDD
federationExecutionName
- the name of the federation executionfdd
- the federation object model (FOM)
FederationExecutionAlreadyExists
- if a federation execution with the same name has been created
before
ErrorReadingFDD
- if the given FDD has errors.
java.lang.NullPointerException
- if federationExecutionName
or fdd
is null.
java.rmi.server.ExportException
FederationExecution getFederationExecution(java.lang.String federationExecutionName)
federationExecutionName
- the name of the federation execution
void destroyFederationExecution(java.lang.String federationExecutionName) throws FederatesCurrentlyJoined, FederationExecutionDoesNotExist
federationExecutionName
- the name of the federation execution to be destroyed
FederatesCurrentlyJoined
- if there are still federates joined to the the federation
execution with the given name
FederationExecutionDoesNotExist
- If a federation execution with the given name does not existFederateHandle joinFederationExecution(java.lang.String federationExecutionName, java.lang.String federateType, LrcHandle lrcHandle, MobileFederateServices serviceReferences) throws FederationExecutionDoesNotExist
FederationExecutionDoesNotExist
LrcRemote getLrcRemote(LrcHandle lrcHandle)
lrcHandle
-
null
!LrcHandle registerLrc(LrcRemote lrcRemote)
void unregisterLrc(LrcHandle lrcHandle)
void destroyAllFederationExecutions()
void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |