|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CrcRemote
Remote interface of the central RTI component.
Field Summary | |
---|---|
static java.lang.String |
REGISTRY_NAME
|
Method Summary | |
---|---|
FederationExecutionRemote |
createFederationExecution(java.lang.String federationExecutionName,
byte[] fdd)
Implements HLA service 4.2 (See IEEE Std 1516.1-2000). |
void |
destroyFederationExecution(java.lang.String federationExecutionName)
Implements HLA service 4.3 (See IEEE Std 1516.1-2000). |
FederationExecutionRemote |
getFederationExecution(java.lang.String federationExecutionName)
Returns the federation execution with the given name. |
FederateHandle |
joinFederationExecution(java.lang.String federationExecutionName,
java.lang.String federateType,
LrcHandle lrcHandle,
MobileFederateServices serviceReferences)
Implements HLA service 4.4 (See IEEE Std 1516.1-2000). |
LrcHandle |
registerLrc(LrcRemote lrcRemote)
TODO |
void |
reset()
Resets the CRC. |
void |
shutdownAndExit()
Calls shutdown on the CrcApplication and then exits the JVM. |
void |
unregisterLrc(LrcHandle lrcHandle)
|
Field Detail |
---|
static final java.lang.String REGISTRY_NAME
Method Detail |
---|
FederationExecutionRemote createFederationExecution(java.lang.String federationExecutionName, byte[] fdd) throws java.rmi.RemoteException, FederationExecutionAlreadyExists, ErrorReadingFDD
federationExecutionName
- the name of the federation executionfdd
- the federation object model (FOM) as an XML file encoded in
UTF-8
FederationExecutionAlreadyExists
- if a federation execution with the same name has been created
before
ErrorReadingFDD
- if fdd could not be read. This is the case if the given fdd
is not a valid XML file or does not conform to the HLA XMl
Schema.
java.rmi.RemoteException
- RMI remote exception happened while calling this methodvoid destroyFederationExecution(java.lang.String federationExecutionName) throws FederatesCurrentlyJoined, FederationExecutionDoesNotExist, java.rmi.RemoteException
FederatesCurrentlyJoined
- if there are still federates joined to this federation
execution
FederationExecutionDoesNotExist
- if no federation execution exists with the given name
java.rmi.RemoteException
- RMI remote exception happened while calling this methodFederationExecutionRemote getFederationExecution(java.lang.String federationExecutionName) throws java.rmi.RemoteException
federationExecutionName
- the name of the federation execution to be received
java.rmi.RemoteException
- RMI remote exception happened while calling this methodFederateHandle joinFederationExecution(java.lang.String federationExecutionName, java.lang.String federateType, LrcHandle lrcHandle, MobileFederateServices serviceReferences) throws FederationExecutionDoesNotExist, java.rmi.RemoteException
federateType
- the type of the federate that want to join this federation
executionlrcHandle
- a reference to the LRC which runs the federated that wants tho
joinserviceReferences
- unused
SaveInProgress
- not implemented
RestoreInProgress
- not implemented
java.rmi.RemoteException
- RMI remote exception happened while calling this method
FederationExecutionDoesNotExist
LrcHandle registerLrc(LrcRemote lrcRemote) throws java.rmi.RemoteException
lrcRemote
-
java.rmi.RemoteException
void unregisterLrc(LrcHandle lrcHandle) throws java.rmi.RemoteException
java.rmi.RemoteException
void reset() throws java.rmi.RemoteException
java.rmi.RemoteException
void shutdownAndExit() throws java.rmi.RemoteException
CrcApplication
and then exits the JVM. Does
not block
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |