|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.zcu.fav.kiv.jsim.hla.JSimHLAFederateAmbassador
JSimHLAFederateAmbassador implements hla.rti.FederateAmbassador, which is a part of HLA standard and must be implemented by every federate using HLA services. Instance of this class is created automatically by JSimHLASimulation. You should never need to create an instance of this class.
| Constructor Summary | |
JSimHLAFederateAmbassador(JSimHLAConnection connection)
Constructor. |
|
| Method Summary | |
void |
announceSynchronizationPoint(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
Notifies the federate that a synchronization point has been announced. |
void |
attributeIsNotOwned(ObjectInstanceHandle theObject,
AttributeHandle theAttribute)
Notifies the federate that an attribute if not owned. |
void |
attributeIsOwnedByRTI(ObjectInstanceHandle theObject,
AttributeHandle theAttribute)
Notifies the federate that an attribute is owned by the run-time infrastructure. |
void |
attributeOwnershipAcquisitionNotification(ObjectInstanceHandle theObject,
AttributeHandleSet securedAttributes,
byte[] userSuppliedTag)
Notifies the federate that it has acquired ownership of a set of attributes. |
void |
attributeOwnershipUnavailable(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
Notifies the federate that ownership of a set of attributes is unavailable. |
void |
attributesInScope(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
Notifies the federate that a set of attributes have entered its scope. |
void |
attributesOutOfScope(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
Notifies the federate that a set of attributes have left its scope. |
void |
confirmAttributeOwnershipAcquisitionCancellation(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
Notifies the federate of confirmation of attribute ownership acquisition cancellation. |
protected void |
debug(java.lang.String message)
Prints debug message. |
void |
discoverObjectInstance(ObjectInstanceHandle theObject,
ObjectClassHandle theObjectClass,
java.lang.String objectName)
Notifies the federate of the presence of an object instance. |
void |
federationNotRestored(RestoreFailureReason reason)
Notifies the federate that the federation has not been restored. |
void |
federationNotSaved(SaveFailureReason reason)
Notifies the federate that the federation has not been saved. |
void |
federationRestoreBegun()
Notifies the federate that the federation restore operation has begun. |
void |
federationRestored()
Notifies the federate that the federation has been restored. |
void |
federationRestoreStatusResponse(FederateHandleRestoreStatusPair[] response)
Provides information to the federate concerning the restore status of other members of the federation. |
void |
federationSaved()
Notifies the federate that the federation has been saved. |
void |
federationSaveStatusResponse(FederateHandleSaveStatusPair[] response)
Provides information to the federate concerning the save status of other members of the federation. |
void |
federationSynchronized(java.lang.String synchronizationPointLabel)
Notifies the federate that the federation has been synchronized. |
void |
informAttributeOwnership(ObjectInstanceHandle theObject,
AttributeHandle theAttribute,
FederateHandle theOwner)
Notifies the federate of the ownership of an attribute. |
void |
initiateFederateRestore(java.lang.String label,
FederateHandle federateHandle)
Notifies the federate that it should initiate a restore operation. |
void |
initiateFederateSave(java.lang.String label)
Notifies the federate that it should initiate a save operation. |
void |
initiateFederateSave(java.lang.String label,
LogicalTime time)
Notifies the federate that it should initiate a save operation. |
void |
objectInstanceNameReservationFailed(java.lang.String objectName)
Notifies the federate that its request to reserve an object instance name has failed. |
void |
objectInstanceNameReservationSucceded(java.lang.String objectName)
Notifies the federate that its request to reserve an object instance name has succeeded. |
void |
provideAttributeValueUpdate(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes,
byte[] userSuppliedTag)
Notifies the federate that it should provide an update regarding a set of object attributes. |
void |
receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the federate of a received interaction. |
void |
receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering)
Notifies the federate of a received interaction. |
void |
receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
MessageRetractionHandle messageRetractionHandle)
Notifies the federate of a received interaction. |
void |
receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
MessageRetractionHandle messageRetractionHandle,
RegionHandleSet sentRegions)
Notifies the federate of a received interaction. |
void |
receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
RegionHandleSet sentRegions)
Notifies the federate of a received interaction. |
void |
receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
RegionHandleSet sentRegions)
Notifies the federate of a received interaction. |
void |
reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the federate of changes to the state of an object instance. |
void |
reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering)
Notifies the federate of changes to the state of an object instance. |
void |
reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
MessageRetractionHandle retractionHandle)
Notifies the federate of changes to the state of an object instance. |
void |
reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
MessageRetractionHandle retractionHandle,
RegionHandleSet sentRegions)
Notifies the federate of changes to the state of an object instance. |
void |
reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
RegionHandleSet sentRegions)
Notifies the federate of changes to the state of an object instance. |
void |
reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
RegionHandleSet sentRegions)
Notifies the federate of changes to the state of an object instance. |
void |
removeObjectInstance(ObjectInstanceHandle theObject,
byte[] userSuppliedTag,
OrderType sentOrdering)
Notifies the federate that an object instance has been removed. |
void |
removeObjectInstance(ObjectInstanceHandle theObject,
byte[] userSuppliedTag,
OrderType sentOrdering,
LogicalTime theTime,
OrderType receivedOrdering)
Notifies the federate that an object instance has been removed. |
void |
removeObjectInstance(ObjectInstanceHandle theObject,
byte[] userSuppliedTag,
OrderType sentOrdering,
LogicalTime theTime,
OrderType receivedOrdering,
MessageRetractionHandle retractionHandle)
Notifies the federate that an object instance has been removed. |
void |
requestAttributeOwnershipAssumption(ObjectInstanceHandle theObject,
AttributeHandleSet offeredAttributes,
byte[] userSuppliedTag)
Requests that the federate assume ownership of a set of attributes. |
void |
requestAttributeOwnershipRelease(ObjectInstanceHandle theObject,
AttributeHandleSet candidateAttributes,
byte[] userSuppliedTag)
Notifies the federate of a request to release ownership of a set of attributes. |
void |
requestDivestitureConfirmation(ObjectInstanceHandle theObject,
AttributeHandleSet offeredAttributes)
Requests that the federate confirm divestiture of a set of attributes. |
void |
requestFederationRestoreFailed(java.lang.String label)
Notifies the federate that its request to restore the saved state of the federation has failed. |
void |
requestFederationRestoreSucceeded(java.lang.String label)
Notifies the federate that its request to restore the saved state of the federation has succeeded. |
void |
requestRetraction(MessageRetractionHandle theHandle)
Notifies the federate that a retraction has been requested. |
void |
setDebugMode(boolean enabled)
|
void |
startRegistrationForObjectClass(ObjectClassHandle theClass)
Notifies the federate that it should begin registering objects of a certain class. |
void |
stopRegistrationForObjectClass(ObjectClassHandle theClass)
Notifies the federate that it should stop registering objects of a certain class. |
void |
synchronizationPointRegistrationFailed(java.lang.String synchronizationPointLabel,
SynchronizationPointFailureReason reason)
Notifies the federate that the synchronization point registration operation has failed. |
void |
synchronizationPointRegistrationSucceeded(java.lang.String synchronizationPointLabel)
Notifies the federate that the synchronization point registration operation has succeeded. |
void |
timeAdvanceGrant(LogicalTime theTime)
Notifies the federate that a time advance has been granted. |
void |
timeConstrainedEnabled(LogicalTime time)
Notifies the federate that time-constrained mode has been enabled. |
void |
timeRegulationEnabled(LogicalTime time)
Notifies the federate that time regulation has been enabled. |
void |
turnInteractionsOff(InteractionClassHandle theHandle)
Notifies the federate that it should turn interactions of a certain class off. |
void |
turnInteractionsOn(InteractionClassHandle theHandle)
Notifies the federate that it should turn interactions of a certain class on. |
void |
turnUpdatesOffForObjectInstance(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
Notifies the federate that it should turn updates off for an owned object instance. |
void |
turnUpdatesOnForObjectInstance(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
Notifies the federate that it should turn updates on for an owned object instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JSimHLAFederateAmbassador(JSimHLAConnection connection)
| Method Detail |
protected void debug(java.lang.String message)
message - message to printpublic void setDebugMode(boolean enabled)
public void synchronizationPointRegistrationSucceeded(java.lang.String synchronizationPointLabel)
throws FederateInternalError
synchronizationPointRegistrationSucceeded in interface FederateAmbassadorsynchronizationPointLabel - the label of the registered synchronization point
FederateInternalError - if an error occurs in the federate
public void synchronizationPointRegistrationFailed(java.lang.String synchronizationPointLabel,
SynchronizationPointFailureReason reason)
throws FederateInternalError
synchronizationPointRegistrationFailed in interface FederateAmbassadorsynchronizationPointLabel - the label of the synchronization point
FederateInternalError - if an error occurs in the federate
public void announceSynchronizationPoint(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
throws FederateInternalError
announceSynchronizationPoint in interface FederateAmbassadorsynchronizationPointLabel - the label of the announced synchronization pointuserSuppliedTag - a user-supplied tag associated with the announcement
FederateInternalError - if an error occurs in the federate
public void federationSynchronized(java.lang.String synchronizationPointLabel)
throws FederateInternalError
federationSynchronized in interface FederateAmbassadorsynchronizationPointLabel - the label of the synchronization point
FederateInternalError - if an error occurs in the federate
public void initiateFederateSave(java.lang.String label)
throws UnableToPerformSave,
FederateInternalError
initiateFederateSave in interface FederateAmbassadorlabel - the label to save under
UnableToPerformSave - if the federate cannot perform the operation
FederateInternalError - if an error occurs in the federate
public void initiateFederateSave(java.lang.String label,
LogicalTime time)
throws InvalidLogicalTime,
UnableToPerformSave,
FederateInternalError
initiateFederateSave in interface FederateAmbassadorlabel - the label to save undertime - the time of the save operation
InvalidLogicalTime - if the specified time is invalid
UnableToPerformSave - if the federate cannot perform the operation
FederateInternalError - if an error occurs in the federate
public void federationSaved()
throws FederateInternalError
federationSaved in interface FederateAmbassadorFederateInternalError - if an error occurs in the federate
public void federationNotSaved(SaveFailureReason reason)
throws FederateInternalError
federationNotSaved in interface FederateAmbassadorreason - the reason for the failure of the save operation
FederateInternalError - if an error occurs in the federate
public void federationSaveStatusResponse(FederateHandleSaveStatusPair[] response)
throws FederateInternalError
federationSaveStatusResponse in interface FederateAmbassadorresponse - the responses associated with each federate
FederateInternalError - if an error occurs in the federate
public void requestFederationRestoreSucceeded(java.lang.String label)
throws FederateInternalError
requestFederationRestoreSucceeded in interface FederateAmbassadorlabel - the label of the stored state to restore
FederateInternalError - if an error occurs in the federate
public void requestFederationRestoreFailed(java.lang.String label)
throws FederateInternalError
requestFederationRestoreFailed in interface FederateAmbassadorlabel - the label of the stored state to restore
FederateInternalError - if an error occurs in the federate
public void federationRestoreBegun()
throws FederateInternalError
federationRestoreBegun in interface FederateAmbassadorFederateInternalError - if an error occurs in the federate
public void initiateFederateRestore(java.lang.String label,
FederateHandle federateHandle)
throws SpecifiedSaveLabelDoesNotExist,
CouldNotInitiateRestore,
FederateInternalError
initiateFederateRestore in interface FederateAmbassadorlabel - the label of the stored state to restorefederateHandle - the federate handle
SpecifiedSaveLabelDoesNotExist - if the specified save label does not exist
CouldNotInitiateRestore - if the restore operation cannot be performed
FederateInternalError - if an error occurs in the federate
public void federationRestored()
throws FederateInternalError
federationRestored in interface FederateAmbassadorFederateInternalError - if an error occurs in the federate
public void federationNotRestored(RestoreFailureReason reason)
throws FederateInternalError
federationNotRestored in interface FederateAmbassadorreason - the reason for the failure of the restore operation
FederateInternalError - if an error occurs in the federate
public void federationRestoreStatusResponse(FederateHandleRestoreStatusPair[] response)
throws FederateInternalError
federationRestoreStatusResponse in interface FederateAmbassadorresponse - the responses associated with each federate
FederateInternalError - if an error occurs in the federate
public void startRegistrationForObjectClass(ObjectClassHandle theClass)
throws ObjectClassNotPublished,
FederateInternalError
startRegistrationForObjectClass in interface FederateAmbassadortheClass - the handle of the class of objects to begin registering
ObjectClassNotPublished - if the specified object class is not published
FederateInternalError - if an error occurs in the federate
public void stopRegistrationForObjectClass(ObjectClassHandle theClass)
throws ObjectClassNotPublished,
FederateInternalError
stopRegistrationForObjectClass in interface FederateAmbassadortheClass - the handle of the class of objects to stop registering
ObjectClassNotPublished - if the specified object class is not published
FederateInternalError - if an error occurs in the federate
public void turnInteractionsOn(InteractionClassHandle theHandle)
throws InteractionClassNotPublished,
FederateInternalError
turnInteractionsOn in interface FederateAmbassadortheHandle - the handle of the class of interactions to turn on
InteractionClassNotPublished - if the specified interaction class is not published
FederateInternalError - if an error occurs in the federate
public void turnInteractionsOff(InteractionClassHandle theHandle)
throws InteractionClassNotPublished,
FederateInternalError
turnInteractionsOff in interface FederateAmbassadortheHandle - the handle of the class of interactions to turn off
InteractionClassNotPublished - if the specified interaction class is not published
FederateInternalError - if an error occurs in the federate
public void objectInstanceNameReservationSucceded(java.lang.String objectName)
throws UnknownName,
FederateInternalError
objectInstanceNameReservationSucceded in interface FederateAmbassadorobjectName - the reserved object instance name
UnknownName - if the name is unknown
FederateInternalError - if an error occurs in the federate
public void objectInstanceNameReservationFailed(java.lang.String objectName)
throws UnknownName,
FederateInternalError
objectInstanceNameReservationFailed in interface FederateAmbassadorobjectName - the object instance name
UnknownName - if the name is unknown
FederateInternalError - if an error occurs in the federate
public void discoverObjectInstance(ObjectInstanceHandle theObject,
ObjectClassHandle theObjectClass,
java.lang.String objectName)
throws CouldNotDiscover,
ObjectClassNotRecognized,
FederateInternalError
discoverObjectInstance in interface FederateAmbassadortheObject - the instance handle of the newly discovered objecttheObjectClass - the class handle of the newly discovered objectobjectName - the name of the newly discovered object
CouldNotDiscover - if the object could not be discovered
ObjectClassNotRecognized - if the object class was not recognized
FederateInternalError - if an error occurs in the federate
public void reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotSubscribed,
FederateInternalError
reflectAttributeValues in interface FederateAmbassadortheObject - the instance handle of the modified objecttheAttributes - the map between attribute handles and the new values of
the identified attributesuserSuppliedTag - a user-supplied tag associated with the state changesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the update
ObjectInstanceNotKnown - if the object instance is not known
AttributeNotRecognized - if the attribute was not recognized
AttributeNotSubscribed - if the federate had not subscribed to the
attribute
FederateInternalError - if an error occurs in the federate
public void reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
RegionHandleSet sentRegions)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotSubscribed,
FederateInternalError
reflectAttributeValues in interface FederateAmbassadortheObject - the instance handle of the modified objecttheAttributes - the map between attribute handles and the new values of
the identified attributesuserSuppliedTag - a user-supplied tag associated with the state changesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the updatesentRegions - the set of region handles identifying the regions associated
with the attribute update
ObjectInstanceNotKnown - if the object instance is not known
AttributeNotRecognized - if the attribute was not recognized
AttributeNotSubscribed - if the federate had not subscribed to the
attribute
FederateInternalError - if an error occurs in the federate
public void reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotSubscribed,
FederateInternalError
reflectAttributeValues in interface FederateAmbassadortheObject - the instance handle of the modified objecttheAttributes - the map between attribute handles and the new values of
the identified attributesuserSuppliedTag - a user-supplied tag associated with the state changesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the updatetheTime - the logical time associated with the attribute updatereceivedOrdering - the type of ordering with which the update was received
ObjectInstanceNotKnown - if the object instance is not known
AttributeNotRecognized - if the attribute was not recognized
AttributeNotSubscribed - if the federate had not subscribed to the
attribute
FederateInternalError - if an error occurs in the federate
public void reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
RegionHandleSet sentRegions)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotSubscribed,
FederateInternalError
reflectAttributeValues in interface FederateAmbassadortheObject - the instance handle of the modified objecttheAttributes - the map between attribute handles and the new values of
the identified attributesuserSuppliedTag - a user-supplied tag associated with the state changesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the updatetheTime - the logical time associated with the attribute updatereceivedOrdering - the type of ordering with which the update was receivedsentRegions - the set of region handles identifying the regions associated
with the attribute update
ObjectInstanceNotKnown - if the object instance is not known
AttributeNotRecognized - if the attribute was not recognized
AttributeNotSubscribed - if the federate had not subscribed to the
attribute
FederateInternalError - if an error occurs in the federate
public void reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
MessageRetractionHandle retractionHandle)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotSubscribed,
InvalidLogicalTime,
FederateInternalError
reflectAttributeValues in interface FederateAmbassadortheObject - the instance handle of the modified objecttheAttributes - the map between attribute handles and the new values of
the identified attributesuserSuppliedTag - a user-supplied tag associated with the state changesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the updatetheTime - the logical time associated with the attribute updatereceivedOrdering - the type of ordering with which the update was receivedretractionHandle - the message retraction handle
ObjectInstanceNotKnown - if the object instance is not known
AttributeNotRecognized - if the attribute was not recognized
AttributeNotSubscribed - if the federate had not subscribed to the
attribute
InvalidLogicalTime - if the specified logical time was invalid
FederateInternalError - if an error occurs in the federate
public void reflectAttributeValues(ObjectInstanceHandle theObject,
AttributeHandleValueMap theAttributes,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
MessageRetractionHandle retractionHandle,
RegionHandleSet sentRegions)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotSubscribed,
InvalidLogicalTime,
FederateInternalError
reflectAttributeValues in interface FederateAmbassadortheObject - the instance handle of the modified objecttheAttributes - the map between attribute handles and the new values of
the identified attributesuserSuppliedTag - a user-supplied tag associated with the state changesentOrdering - the type of ordering with which the update was senttheTransport - the type of transport associated with the updatetheTime - the logical time associated with the attribute updatereceivedOrdering - the type of ordering with which the update was receivedretractionHandle - the message retraction handlesentRegions - the set of region handles identifying the regions associated
with the attribute update
ObjectInstanceNotKnown - if the object instance is not known
AttributeNotRecognized - if the attribute was not recognized
AttributeNotSubscribed - if the federate had not subscribed to the
attribute
InvalidLogicalTime - if the specified logical time was invalid
FederateInternalError - if an error occurs in the federate
public void receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveInteraction in interface FederateAmbassadorinteractionClass - the class of the received interactiontheParameters - the map between parameter handles and the values of
the identified parametersuserSuppliedTag - a user-supplied tag associated with the interactionsentOrdering - the type of ordering with which the interaction was senttheTransport - the type of transport associated with the interaction
InteractionClassNotRecognized - if the interaction class was not recognized
InteractionParameterNotRecognized - if a parameter of the interaction was not
recognized
InteractionClassNotSubscribed - if the federate had not subscribed to the
interaction class
FederateInternalError - if an error occurs in the federate
public void receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
RegionHandleSet sentRegions)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveInteraction in interface FederateAmbassadorinteractionClass - the class of the received interactiontheParameters - the map between parameter handles and the values of
the identified parametersuserSuppliedTag - a user-supplied tag associated with the interactionsentOrdering - the type of ordering with which the interaction was senttheTransport - the type of transport associated with the interactionsentRegions - the set of region handles identifying the regions associated
with the interaction
InteractionClassNotRecognized - if the interaction class was not recognized
InteractionParameterNotRecognized - if a parameter of the interaction was not
recognized
InteractionClassNotSubscribed - if the federate had not subscribed to the
interaction class
FederateInternalError - if an error occurs in the federate
public void receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveInteraction in interface FederateAmbassadorinteractionClass - the class of the received interactiontheParameters - the map between parameter handles and the values of
the identified parametersuserSuppliedTag - a user-supplied tag associated with the interactionsentOrdering - the type of ordering with which the interaction was senttheTransport - the type of transport associated with the interactiontheTime - the logical time associated with the interaction
InteractionClassNotRecognized - if the interaction class was not recognized
InteractionParameterNotRecognized - if a parameter of the interaction was not
recognized
InteractionClassNotSubscribed - if the federate had not subscribed to the
interaction class
FederateInternalError - if an error occurs in the federate
public void receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
RegionHandleSet sentRegions)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveInteraction in interface FederateAmbassadorinteractionClass - the class of the received interactiontheParameters - the map between parameter handles and the values of
the identified parametersuserSuppliedTag - a user-supplied tag associated with the interactionsentOrdering - the type of ordering with which the interaction was senttheTransport - the type of transport associated with the interactiontheTime - the logical time associated with the interactionreceivedOrdering - the type of ordering with which the interaction was receivedsentRegions - the set of region handles identifying the regions associated
with the interaction
InteractionClassNotRecognized - if the interaction class was not recognized
InteractionParameterNotRecognized - if a parameter of the interaction was not
recognized
InteractionClassNotSubscribed - if the federate had not subscribed to the
interaction class
FederateInternalError - if an error occurs in the federate
public void receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
MessageRetractionHandle messageRetractionHandle)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
InvalidLogicalTime,
FederateInternalError
receiveInteraction in interface FederateAmbassadorinteractionClass - the class of the received interactiontheParameters - the map between parameter handles and the values of
the identified parametersuserSuppliedTag - a user-supplied tag associated with the interactionsentOrdering - the type of ordering with which the interaction was senttheTransport - the type of transport associated with the interactiontheTime - the logical time associated with the interactionreceivedOrdering - the type of ordering with which the interaction was receivedmessageRetractionHandle - the message retraction handle associated with the
interaction
InteractionClassNotRecognized - if the interaction class was not recognized
InteractionParameterNotRecognized - if a parameter of the interaction was not
recognized
InteractionClassNotSubscribed - if the federate had not subscribed to the
interaction class
InvalidLogicalTime - if the specified logical time was invalid
FederateInternalError - if an error occurs in the federate
public void receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering,
MessageRetractionHandle messageRetractionHandle,
RegionHandleSet sentRegions)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
InvalidLogicalTime,
FederateInternalError
receiveInteraction in interface FederateAmbassadorinteractionClass - the class of the received interactiontheParameters - the map between parameter handles and the values of
the identified parametersuserSuppliedTag - a user-supplied tag associated with the interactionsentOrdering - the type of ordering with which the interaction was senttheTransport - the type of transport associated with the interactiontheTime - the logical time associated with the interactionreceivedOrdering - the type of ordering with which the interaction was receivedmessageRetractionHandle - the message retraction handle associated with the
interactionsentRegions - the set of region handles identifying the regions associated
with the interaction
InteractionClassNotRecognized - if the interaction class was not recognized
InteractionParameterNotRecognized - if a parameter of the interaction was not
recognized
InteractionClassNotSubscribed - if the federate had not subscribed to the
interaction class
InvalidLogicalTime - if the specified logical time was invalid
FederateInternalError - if an error occurs in the federate
public void removeObjectInstance(ObjectInstanceHandle theObject,
byte[] userSuppliedTag,
OrderType sentOrdering)
throws ObjectInstanceNotKnown,
FederateInternalError
removeObjectInstance in interface FederateAmbassadortheObject - the instance handle associated with the objectuserSuppliedTag - a user-supplied tag associated with the removal operationsentOrdering - the type of ordering with which the interaction was sent
ObjectInstanceNotKnown - if the object instance was unknown
FederateInternalError - if an error occurs in the federate
public void removeObjectInstance(ObjectInstanceHandle theObject,
byte[] userSuppliedTag,
OrderType sentOrdering,
LogicalTime theTime,
OrderType receivedOrdering)
throws ObjectInstanceNotKnown,
FederateInternalError
removeObjectInstance in interface FederateAmbassadortheObject - the instance handle associated with the objectuserSuppliedTag - a user-supplied tag associated with the removal operationsentOrdering - the type of ordering with which the interaction was senttheTime - the logical time associated with the removal operationreceivedOrdering - the type of ordering with which the interaction was received
ObjectInstanceNotKnown - if the object instance was unknown
FederateInternalError - if an error occurs in the federate
public void removeObjectInstance(ObjectInstanceHandle theObject,
byte[] userSuppliedTag,
OrderType sentOrdering,
LogicalTime theTime,
OrderType receivedOrdering,
MessageRetractionHandle retractionHandle)
throws ObjectInstanceNotKnown,
InvalidLogicalTime,
FederateInternalError
removeObjectInstance in interface FederateAmbassadortheObject - the instance handle associated with the objectuserSuppliedTag - a user-supplied tag associated with the removal operationsentOrdering - the type of ordering with which the interaction was senttheTime - the logical time associated with the removal operationreceivedOrdering - the type of ordering with which the interaction was receivedretractionHandle - the message retraction handle associated with the interaction
ObjectInstanceNotKnown - if the object instance was unknown
InvalidLogicalTime - if the specified logical time was invalid
FederateInternalError - if an error occurs in the federate
public void attributesInScope(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotSubscribed,
FederateInternalError
attributesInScope in interface FederateAmbassadortheObject - the handle of the object instance whose attributes have entered
scopetheAttributes - the set of attribute handles identifying the attributes that
have entered scope
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an identified attribute was not recognized
AttributeNotSubscribed - if the federate had not subscribed to an identified
attribute
FederateInternalError - if an error occurs in the federate
public void attributesOutOfScope(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotSubscribed,
FederateInternalError
attributesOutOfScope in interface FederateAmbassadortheObject - the handle of the object instance whose attributes have left
scopetheAttributes - the set of attribute handles identifying the attributes that
have left scope
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an identified attribute was not recognized
AttributeNotSubscribed - if the federate had not subscribed to an identified
attribute
FederateInternalError - if an error occurs in the federate
public void provideAttributeValueUpdate(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes,
byte[] userSuppliedTag)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotOwned,
FederateInternalError
provideAttributeValueUpdate in interface FederateAmbassadortheObject - the handle of the object instance whose attributes should be senttheAttributes - the set of attribute handles identifying the attributes that
should be sent
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an identified attribute was not recognized
AttributeNotOwned - if the federate did not own a specified attribute
FederateInternalError - if an error occurs in the federate
public void turnUpdatesOnForObjectInstance(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotOwned,
FederateInternalError
turnUpdatesOnForObjectInstance in interface FederateAmbassadortheObject - the handle of the object instance whose attributes should be senttheAttributes - the set of attribute handles identifying the attributes that
should be sent
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an identified attribute was not recognized
AttributeNotOwned - if the federate did not own a specified attribute
FederateInternalError - if an error occurs in the federate
public void turnUpdatesOffForObjectInstance(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotOwned,
FederateInternalError
turnUpdatesOffForObjectInstance in interface FederateAmbassadortheObject - the handle of the object instance whose attributes should not be senttheAttributes - the set of attribute handles identifying the attributes that
should not be sent
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an identified attribute was not recognized
AttributeNotOwned - if the federate did not own a specified attribute
FederateInternalError - if an error occurs in the federate
public void requestAttributeOwnershipAssumption(ObjectInstanceHandle theObject,
AttributeHandleSet offeredAttributes,
byte[] userSuppliedTag)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeAlreadyOwned,
AttributeNotPublished,
FederateInternalError
requestAttributeOwnershipAssumption in interface FederateAmbassadortheObject - a handle to the object instance with which the attributes are
associatedofferedAttributes - the set of handles to the attributesuserSuppliedTag - a user-supplied tag associated with the transfer
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an attribute was not recognized
AttributeAlreadyOwned - if an attribute was already owned
AttributeNotPublished - if an attribute is not published
FederateInternalError - if an error occurs in the federate
public void requestDivestitureConfirmation(ObjectInstanceHandle theObject,
AttributeHandleSet offeredAttributes)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotOwned,
AttributeDivestitureWasNotRequested,
FederateInternalError
requestDivestitureConfirmation in interface FederateAmbassadortheObject - a handle to the object instance with which the attributes are
associatedofferedAttributes - the set of handles to the attributes
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an attribute was not recognized
AttributeNotOwned - if an attribute was not owned
AttributeDivestitureWasNotRequested - if divestiture of a specified
attribute was not requested
FederateInternalError - if an error occurs in the federate
public void attributeOwnershipAcquisitionNotification(ObjectInstanceHandle theObject,
AttributeHandleSet securedAttributes,
byte[] userSuppliedTag)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeAcquisitionWasNotRequested,
AttributeAlreadyOwned,
AttributeNotPublished,
FederateInternalError
attributeOwnershipAcquisitionNotification in interface FederateAmbassadortheObject - a handle to the object instance with which the attributes are
associatedsecuredAttributes - the set of handles to the attributesuserSuppliedTag - a user-supplied tag associated with the transfer
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an attribute was not recognized
AttributeAcquisitionWasNotRequested - if acquisition of a specified
attribute was not requested
AttributeAlreadyOwned - if an attribute was already owned
AttributeNotPublished - if an attribute is not published
FederateInternalError - if an error occurs in the federate
public void attributeOwnershipUnavailable(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeAlreadyOwned,
AttributeAcquisitionWasNotRequested,
FederateInternalError
attributeOwnershipUnavailable in interface FederateAmbassadortheObject - a handle to the object instance with which the attributes are
associatedtheAttributes - the set of handles to the attributes
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an attribute was not recognized
AttributeAlreadyOwned - if an attribute was already owned
AttributeAcquisitionWasNotRequested - if acquisition of a specified
attribute was not requested
FederateInternalError - if an error occurs in the federate
public void requestAttributeOwnershipRelease(ObjectInstanceHandle theObject,
AttributeHandleSet candidateAttributes,
byte[] userSuppliedTag)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotOwned,
FederateInternalError
requestAttributeOwnershipRelease in interface FederateAmbassadortheObject - a handle to the object instance with which the attributes are
associatedcandidateAttributes - the attributes that have been requested to be releaseduserSuppliedTag - a user-supplied tag associated with the request
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an attribute was not recognized
AttributeNotOwned - if an attribute was not owned
FederateInternalError - if an error occurs in the federate
public void confirmAttributeOwnershipAcquisitionCancellation(ObjectInstanceHandle theObject,
AttributeHandleSet theAttributes)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeAlreadyOwned,
AttributeAcquisitionWasNotCanceled,
FederateInternalError
confirmAttributeOwnershipAcquisitionCancellation in interface FederateAmbassadortheObject - a handle to the object instance with which the attributes are
associatedtheAttributes - a set of handles to the attributes
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if an attribute was not recognized
AttributeAlreadyOwned - if an attribute was already owned
AttributeAcquisitionWasNotCanceled - if the attribute acquisition operation
was not canceled
FederateInternalError - if an error occurs in the federate
public void informAttributeOwnership(ObjectInstanceHandle theObject,
AttributeHandle theAttribute,
FederateHandle theOwner)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
FederateInternalError
informAttributeOwnership in interface FederateAmbassadortheObject - a handle to the object instance with which the attribute is
associatedtheAttribute - a handle to the attributetheOwner - a handle to the owner of the attribute
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if the attribute was not recognized
FederateInternalError - if an error occurs in the federate
public void attributeIsNotOwned(ObjectInstanceHandle theObject,
AttributeHandle theAttribute)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
FederateInternalError
attributeIsNotOwned in interface FederateAmbassadortheObject - a handle to the object instance with which the attribute is
associatedtheAttribute - a handle to the attribute
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if the attribute was not recognized
FederateInternalError - if an error occurs in the federate
public void attributeIsOwnedByRTI(ObjectInstanceHandle theObject,
AttributeHandle theAttribute)
throws ObjectInstanceNotKnown,
AttributeNotRecognized,
FederateInternalError
attributeIsOwnedByRTI in interface FederateAmbassadortheObject - a handle to the object instance with which the attribute is
associatedtheAttribute - a handle to the attribute
ObjectInstanceNotKnown - if the object instance was unknown
AttributeNotRecognized - if the attribute was not recognized
FederateInternalError - if an error occurs in the federate
public void timeRegulationEnabled(LogicalTime time)
throws InvalidLogicalTime,
NoRequestToEnableTimeRegulationWasPending,
FederateInternalError
timeRegulationEnabled in interface FederateAmbassadortime - the current logical time
InvalidLogicalTime - if the specified logical time was invalid
NoRequestToEnableTimeRegulationWasPending - if no request to
enable time regulation was pending
FederateInternalError - if an error occurs in the federate
public void timeConstrainedEnabled(LogicalTime time)
throws InvalidLogicalTime,
NoRequestToEnableTimeConstrainedWasPending,
FederateInternalError
timeConstrainedEnabled in interface FederateAmbassadortime - the current logical time
InvalidLogicalTime - if the specified logical time was invalid
NoRequestToEnableTimeConstrainedWasPending - if no request to
enable time-constrained mode was pending
FederateInternalError - if an error occurs in the federate
public void timeAdvanceGrant(LogicalTime theTime)
throws InvalidLogicalTime,
JoinedFederateIsNotInTimeAdvancingState,
FederateInternalError
timeAdvanceGrant in interface FederateAmbassadortheTime - the new logical time
InvalidLogicalTime - if the specified logical time is invalid
JoinedFederateIsNotInTimeAdvancingState - if the federate is not
in a time advancing state
FederateInternalError - if an error occurs in the federate
public void requestRetraction(MessageRetractionHandle theHandle)
throws FederateInternalError
requestRetraction in interface FederateAmbassadortheHandle - the handle identifying the message to be retracted
FederateInternalError - if an error occurs in the federate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||