|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.XRTIAmbassador
org.npsnet.xrti.ExecutiveClientAmbassador
A special version of the XRTIAmbassador that the
XRTIExecutive uses to address its clients.
| Nested Class Summary | |
private class |
ExecutiveClientAmbassador.JoinThread
A private internal thread class for joining federation executions. |
| Field Summary | |
private FederationExecutionAmbassador |
executionAmbassador
The federation execution ambassador for the currently joined federation execution. |
private XRTIExecutive |
executive
The owning XRTIExecutive. |
private HLAfederateProxy |
federateProxy
|
private boolean |
galtDefined
Flag saying that federate's Greatest Available Logical Time (GALT) is defined. |
private LogicalTime |
galtValue
Value of federate's Greatest Available Logical Time (GALT). |
private long |
joinedFederateHandle
The stored handle of the joined federate. |
private java.lang.String |
joinedFederateType
The stored type of the joined federate. |
private boolean |
litsDefined
Flag saying that federate's Least Incoming Time Stamp (LITS) is defined. |
private LogicalTime |
litsValue
Value of federate's Least Incoming Time Stamp (LITS). |
private java.util.HashMap |
objectClassPublishedAttributesMap
Maps object class handles to HashSets containing the
handles of attributes to which the federate is published. |
private java.util.HashMap |
objectClassSubscribedAttributesMap
Maps object class handles to HashSets containing the
handles of attributes to which the federate is subscribed. |
private java.util.HashSet |
publishedInteractionClasses
The set of interaction class handles representing the interactions to which the federate is published. |
private ReceiveOrderQueue |
receiveOrderQueue
Queue for receive order messages. |
private java.util.HashSet |
registeredObjectInstanceHandles
The set of handles of registered object instances. |
private int |
requestedTimeService
Federate's requested time service if the federate is in time advancing state. |
private static int |
SERVICE_FLUSH_QUEUE_REQUEST
|
private static int |
SERVICE_NEXT_MESSAGE_REQUEST
|
private static int |
SERVICE_NEXT_MESSAGE_REQUEST_AVAILABLE
|
private static int |
SERVICE_TIME_ADVANCE_REQUEST
|
private static int |
SERVICE_TIME_ADVANCE_REQUEST_AVAILABLE
|
private java.util.HashSet |
subscribedInteractionClasses
The set of interaction class handles representing the interactions to which the federate is subscribed. |
private TimeStampQueue |
timeStampQueue
Queue for timestamp order messages. |
| Constructor Summary | |
protected |
ExecutiveClientAmbassador(XRTIExecutive pExecutive,
MessageChannel pChannel,
MobileFederateServices mobileFederateServices)
Constructor. |
| Method Summary | |
private boolean |
canSendTimeAdvanceGrant()
Returns true if it is possible to send timeAdvanceGrant to the federate, false otherwise. |
protected void |
computeGalt()
Performs computation of the Greatest Available Logical Time (GALT). |
protected void |
computeLits()
Performs computation of the Least Incoming Time Stamp (LITS). |
void |
deleteObjectInstance(ObjectInstanceHandle oih)
Tells the remote federate to delete the object instance with the specified handle. |
protected TimeQueryReturn |
getEffectiveLogicalTime()
Returns federate's effective logical time. |
protected TimeQueryReturn |
getGalt()
Returns federate's GALT. |
protected FederateHandle |
getJoinedFederateHandle()
Returns the stored handle of the joined federate. |
private TimeQueryReturn |
getMinimumGalt()
Returns minimum value of GALT of all other federates. |
private void |
handleTimeRequest(byte[] theTime,
int timeService)
Handles time request received from a federate. |
private void |
logTimeRequest(byte[] theTime,
int timeService)
|
protected void |
proxyAmbassador_receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering)
Calls the receiveInteraction() method of proxyAmbassador object. |
void |
receiveHLAcreateFederationExecution(java.lang.String federationExecutionName,
byte[] federationDescriptionDocument,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Creates a federation execution. |
void |
receiveHLAdeleteObjectInstance(byte[] HLAfederate,
byte[] HLAobjectInstance,
byte[] HLAtag,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause an object instance to be deleted from the federation. |
void |
receiveHLAdestroyFederationExecution(java.lang.String federationExecutionName,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Destroys a federation execution. |
void |
receiveHLAdisableAsynchronousDelivery(byte[] HLAfederate,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
When the joined federate is time-constrained, cause the RTI to deliver receive-order messages to the joined federate only when its time manager state is Time Advancing. |
void |
receiveHLAdisableTimeConstrained(byte[] HLAfederate,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause the logical time of the joined federate to cease being constrained by the logical times of other joined federates. |
void |
receiveHLAdisableTimeRegulation(byte[] HLAfederate,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause the joined federate to cease regulating the logical time of other joined federates. |
void |
receiveHLAenableAsynchronousDelivery(byte[] HLAfederate,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause the RTI to deliver receive-order messages to the joined federate at any time, even if the joined federate is time-constrained. |
void |
receiveHLAenableTimeConstrained(byte[] HLAfederate,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause the logical time of the joined federate to begin being constrained by the logical times of other joined federates. |
void |
receiveHLAenableTimeRegulation(byte[] HLAfederate,
byte[] HLAlookahead,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause the joined federate to begin regulating the logical time of other joined federates. |
void |
receiveHLAflushQueueRequest(byte[] HLAfederate,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Request the logical time of the joined federate to be advanced as far as possible, provided that the time stamp is less than or equal to the logical time specified in the request. |
void |
receiveHLAjoinFederationExecution(java.lang.String federationExecutionName,
java.lang.String federateType,
long federateHandle,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Joins a federation execution. |
void |
receiveHLAmergeFDD(byte[] federationDescriptionDocument,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Merges the contents of a new federation description document into the FOM. |
void |
receiveHLAnextMessageRequest(byte[] HLAfederate,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Request the logical time of the joined federate to be advanced to the time stamp of the next TSO message that shall be delivered to the joined federate, provided that the message shall have a time stamp no greater than the logical time specified in the request, and release zero or more messages for delivery to the joined federate. |
void |
receiveHLAnextMessageRequestAvailable(byte[] HLAfederate,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Request the logical time of the joined federate to be advanced to the time stamp of the next TSO message that shall be delivered to the joined federate, provided that the message shall have a time stamp no greater than the logical time specified in the request, and release zero or more messages for delivery to the joined federate. |
void |
receiveHLApublishInteractionClass(byte[] HLAfederate,
byte[] HLAinteractionClass,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Set the joined federate's publication status of an interaction class. |
void |
receiveHLApublishObjectClassAttributes(byte[] HLAfederate,
byte[] HLAobjectClass,
byte[][] HLAattributeList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Set the joined federate's publication status of attributes belonging to an object class. |
void |
receiveHLAregisterFederationSynchronizationPoint(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Federate's request for registering a federation synchronization point. |
void |
receiveHLAregisterObjectInstance(java.lang.String objectName,
long objectInstanceHandle,
long objectClassHandle,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Registers a new object instance. |
void |
receiveHLArequestAttributeValueUpdate(long objectInstanceHandle,
long[] attributeHandleList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Requests an attribute value update. |
void |
receiveHLArequestHandles(long blockSize,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Requests a block of handles. |
void |
receiveHLAresignFederationExecution(byte[] HLAfederate,
HLAresignAction HLAresignAction,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause the joined federate to resign from the federation execution. |
void |
receiveHLAsubscribeInteractionClass(byte[] HLAfederate,
byte[] HLAinteractionClass,
boolean HLAactive,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Set the joined federate's subscription status to an interaction class. |
void |
receiveHLAsubscribeObjectClassAttributes(byte[] HLAfederate,
byte[] HLAobjectClass,
byte[][] HLAattributeList,
boolean HLAactive,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Set the joined federate's subscription status of attributes belonging to an object class. |
void |
receiveHLAsynchronizationPointAchieved(byte[] HLAfederate,
java.lang.String HLAlabel,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Mimic the federate's report of achieving a synchronization point. |
void |
receiveHLAtimeAdvanceRequest(byte[] HLAfederate,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Request an advance of the joined federate's logical time on behalf of the joined federate, and release zero or more messages for delivery to the joined federate. |
void |
receiveHLAtimeAdvanceRequestAvailable(byte[] HLAfederate,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Request an advance of the joined federate's logical time, on behalf of the joined federate, and release zero or more messages for delivery to the joined federate. |
void |
receiveHLAunpublishInteractionClass(byte[] HLAfederate,
byte[] HLAinteractionClass,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause the joined federate no longer to publish an interaction class. |
void |
receiveHLAunpublishObjectClassAttributes(byte[] HLAfederate,
byte[] HLAobjectClass,
byte[][] HLAattributeList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause the joined federate no longer to publish attributes of an object class. |
void |
receiveHLAunsubscribeInteractionClass(byte[] HLAfederate,
byte[] HLAinteractionClass,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause the joined federate no longer to subscribe to an interaction class. |
void |
receiveHLAunsubscribeObjectClassAttributes(byte[] HLAfederate,
byte[] HLAobjectClass,
byte[][] HLAattributeList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Cause the joined federate no longer to subscribe to attributes of an object class. |
void |
receiveHLAupdateAttributeValuesBestEffort(long objectInstanceHandle,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Updates a set of attribute values with best-effort transportation and receive ordering. |
void |
receiveHLAupdateAttributeValuesReliable(long objectInstanceHandle,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Updates a set of attribute values with reliable transportation and receive ordering. |
void |
registerObjectInstance(ObjectInstanceDescriptor oid)
Registers the specified object instance with the remote federate. |
protected void |
sendAnnounceSynchronizationPoint(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
Notifies the federate that a synchronization point has been announced. |
protected void |
sendFederationSynchronized(java.lang.String synchronizationPointLabel)
Notifies the federate that the federation has been synchronized. |
protected void |
sendInteractionBestEffort(InteractionClassHandle theInteraction,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
LogicalTime theTime)
Sends an interaction with best-effort transportation. |
protected void |
sendInteractionReliable(InteractionClassHandle theInteraction,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
LogicalTime theTime)
Sends an interaction with reliable transportation. |
private void |
sendMessage(HLAMessage message)
Sends message which was stored in message queue. |
private void |
sendMessageDeleteObjectInstance(HLAMessageDeleteObjectInstance message)
Sends message which was stored in message queue after invocation of service deleteObjectInstance(). |
private void |
sendMessageSendInteraction(HLAMessageSendInteraction message)
Sends message which was stored in message queue after invocation of service sendInteraction(). |
private void |
sendMessageUpdateAttributeValues(HLAMessageUpdateAttributeValues message)
Sends message which was stored in message queue after invocation of service updateAttributeValues(). |
private void |
sendReceiveOrderMessages()
Sends all receive order messages. |
private void |
sendTimeAdvanceGrant(LogicalTime theTime)
Sends time advance grant callback to the federate. |
protected void |
sendTimeAdvanceGrantIfPossible()
Sends time advance grant to the federate if it is possible. |
private void |
sendTimeStampMessages(LogicalTime theTime)
Sends all time stamp messages with timestamps less or equal to the specified logical time. |
private void |
sendTimeStampMessagesAll()
Sends all time stamp messages (they will be delivered as receive order if the federate disables time constrained). |
java.lang.String |
toString()
Returns a string representation of the ExecutiveClientAmbassador. |
void |
updateAttributeValuesBestEffort(XRTIObjectInstanceHandle xoih,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag)
Updates a set of attributes with best-effort transportation. |
void |
updateAttributeValuesReliable(XRTIObjectInstanceHandle xoih,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag)
Updates a set of attributes with reliable transportation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private XRTIExecutive executive
XRTIExecutive.
private FederationExecutionAmbassador executionAmbassador
private java.util.HashSet publishedInteractionClasses
private java.util.HashSet subscribedInteractionClasses
private java.util.HashMap objectClassPublishedAttributesMap
HashSets containing the
handles of attributes to which the federate is published.
private java.util.HashMap objectClassSubscribedAttributesMap
HashSets containing the
handles of attributes to which the federate is subscribed.
private java.util.HashSet registeredObjectInstanceHandles
private java.lang.String joinedFederateType
private long joinedFederateHandle
private boolean galtDefined
private LogicalTime galtValue
private boolean litsDefined
private LogicalTime litsValue
private ReceiveOrderQueue receiveOrderQueue
private TimeStampQueue timeStampQueue
private int requestedTimeService
private static final int SERVICE_TIME_ADVANCE_REQUEST
private static final int SERVICE_TIME_ADVANCE_REQUEST_AVAILABLE
private static final int SERVICE_NEXT_MESSAGE_REQUEST
private static final int SERVICE_NEXT_MESSAGE_REQUEST_AVAILABLE
private static final int SERVICE_FLUSH_QUEUE_REQUEST
private HLAfederateProxy federateProxy
| Constructor Detail |
protected ExecutiveClientAmbassador(XRTIExecutive pExecutive,
MessageChannel pChannel,
MobileFederateServices mobileFederateServices)
pExecutive - the owning XRTIExecutivepChannel - the MessageChannel connected to
the clientmobileFederateServices - the federate ambassador's mobile services| Method Detail |
public void registerObjectInstance(ObjectInstanceDescriptor oid)
oid - the descriptor of the instance to registerpublic void deleteObjectInstance(ObjectInstanceHandle oih)
oih - the object instance handle
public void updateAttributeValuesBestEffort(XRTIObjectInstanceHandle xoih,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag)
xoih - the object instance handle of the object being updatedattributeHandleValuePairList - the attribute handle/value pairsuserSuppliedTag - the user-supplied tag associated with the event
public void updateAttributeValuesReliable(XRTIObjectInstanceHandle xoih,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag)
xoih - the object instance handle of the object being updatedattributeHandleValuePairList - the attribute handle/value pairsuserSuppliedTag - the user-supplied tag associated with the event
protected void sendInteractionReliable(InteractionClassHandle theInteraction,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
LogicalTime theTime)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
sendInteractionReliable in class XRTIAmbassadortheInteraction - the class of interaction to sendtheParameters - the parameters of the interactionuserSuppliedTag - a user-supplied tag to associate with the interactionsentOrdering - the type of ordering with which the interaction was senttheTime - the logical time associated with the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is undefined
InteractionParameterNotDefined - if one of the parameters is undefined
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the
run-time infrastructure
protected void sendInteractionBestEffort(InteractionClassHandle theInteraction,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
LogicalTime theTime)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
sendInteractionBestEffort in class XRTIAmbassadortheInteraction - the class of interaction to sendtheParameters - the parameters of the interactionuserSuppliedTag - a user-supplied tag to associate with the interactionsentOrdering - the type of ordering with which the interaction was senttheTime - the logical time associated with the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is undefined
InteractionParameterNotDefined - if one of the parameters is undefined
FederateNotExecutionMember - if the federate is not a member of an execution
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurred in the
run-time infrastructure
public void receiveHLArequestHandles(long blockSize,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLArequestHandles in interface BootstrapInteractionListenerreceiveHLArequestHandles in class XRTIAmbassadorblockSize - The number of handles desired.userSuppliedTag - 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 receiveHLAregisterObjectInstance(java.lang.String objectName,
long objectInstanceHandle,
long objectClassHandle,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAregisterObjectInstance in interface BootstrapInteractionListenerreceiveHLAregisterObjectInstance in class XRTIAmbassadorobjectName - The name of the object.objectInstanceHandle - The object instance handle.objectClassHandle - The object class handle.userSuppliedTag - 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 receiveHLArequestAttributeValueUpdate(long objectInstanceHandle,
long[] attributeHandleList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLArequestAttributeValueUpdate in interface BootstrapInteractionListenerreceiveHLArequestAttributeValueUpdate in class XRTIAmbassadorobjectInstanceHandle - Object instance handle.attributeHandleList - List of attribute handles.userSuppliedTag - 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 receiveHLAupdateAttributeValuesBestEffort(long objectInstanceHandle,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAupdateAttributeValuesBestEffort in interface BootstrapInteractionListenerreceiveHLAupdateAttributeValuesBestEffort in class XRTIAmbassadorobjectInstanceHandle - Object instance handle.attributeHandleValuePairList - List of attribute handle/value pairs.userSuppliedTag - 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 receiveHLAupdateAttributeValuesReliable(long objectInstanceHandle,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAupdateAttributeValuesReliable in interface BootstrapInteractionListenerreceiveHLAupdateAttributeValuesReliable in class XRTIAmbassadorobjectInstanceHandle - Object instance handle.attributeHandleValuePairList - List of attribute handle/value pairs.userSuppliedTag - 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 receiveHLAresignFederationExecution(byte[] HLAfederate,
HLAresignAction HLAresignAction,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAresignFederationExecution in interface ManagementInteractionListenerreceiveHLAresignFederationExecution in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAresignAction - Action that the RTI is to take in conjunction with
the resignation.userSuppliedTag - 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 receiveHLApublishObjectClassAttributes(byte[] HLAfederate,
byte[] HLAobjectClass,
byte[][] HLAattributeList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLApublishObjectClassAttributes in interface ManagementInteractionListenerreceiveHLApublishObjectClassAttributes in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAobjectClass - Object class for which the joined federate's publication
shall change.HLAattributeList - List of handles of attributes of HLAobjectClass,
which the federate shall now publish.userSuppliedTag - 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 receiveHLAunpublishObjectClassAttributes(byte[] HLAfederate,
byte[] HLAobjectClass,
byte[][] HLAattributeList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAunpublishObjectClassAttributes in interface ManagementInteractionListenerreceiveHLAunpublishObjectClassAttributes in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAobjectClass - Object class for which the joined federate's unpublication
shall change.HLAattributeList - List of handles of attributes of HLAobjectClass,
which the joined federate shall now unpublish.userSuppliedTag - 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 receiveHLApublishInteractionClass(byte[] HLAfederate,
byte[] HLAinteractionClass,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLApublishInteractionClass in interface ManagementInteractionListenerreceiveHLApublishInteractionClass in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAinteractionClass - Interaction class that the joined federate
shall publish.userSuppliedTag - 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 receiveHLAunpublishInteractionClass(byte[] HLAfederate,
byte[] HLAinteractionClass,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAunpublishInteractionClass in interface ManagementInteractionListenerreceiveHLAunpublishInteractionClass in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAinteractionClass - Interaction class that the joined federate
shall no longer publish.userSuppliedTag - 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 receiveHLAsubscribeObjectClassAttributes(byte[] HLAfederate,
byte[] HLAobjectClass,
byte[][] HLAattributeList,
boolean HLAactive,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAsubscribeObjectClassAttributes in interface ManagementInteractionListenerreceiveHLAsubscribeObjectClassAttributes in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAobjectClass - Object class for which the joined federate's subscription
shall change.HLAattributeList - List of handles of attributes of HLAobjectClass
to which the joined federate shall now subscribe.HLAactive - Whether the subscription is active.userSuppliedTag - 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 receiveHLAunsubscribeObjectClassAttributes(byte[] HLAfederate,
byte[] HLAobjectClass,
byte[][] HLAattributeList,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAunsubscribeObjectClassAttributes in interface ManagementInteractionListenerreceiveHLAunsubscribeObjectClassAttributes in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAobjectClass - Object class for which the joined federate's subscription
shall change.HLAattributeList - List of handles of attributes of HLAobjectClass
to which the joined federate shall now unsubscribe.userSuppliedTag - 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 receiveHLAsubscribeInteractionClass(byte[] HLAfederate,
byte[] HLAinteractionClass,
boolean HLAactive,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAsubscribeInteractionClass in interface ManagementInteractionListenerreceiveHLAsubscribeInteractionClass in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAinteractionClass - Interaction class to which the federate shall
subscribe.HLAactive - Whether the subscription is active.userSuppliedTag - 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 receiveHLAunsubscribeInteractionClass(byte[] HLAfederate,
byte[] HLAinteractionClass,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAunsubscribeInteractionClass in interface ManagementInteractionListenerreceiveHLAunsubscribeInteractionClass in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAinteractionClass - Interaction class to which the joined federate
will no longer be subscribed.userSuppliedTag - 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 receiveHLAdeleteObjectInstance(byte[] HLAfederate,
byte[] HLAobjectInstance,
byte[] HLAtag,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAdeleteObjectInstance in interface ManagementInteractionListenerreceiveHLAdeleteObjectInstance in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAobjectInstance - Handle of the object instance that is to be deleted.HLAtag - Tag associated with the deletion.HLAtimeStamp - Time stamp of the deletion (optional).userSuppliedTag - 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 receiveHLAcreateFederationExecution(java.lang.String federationExecutionName,
byte[] federationDescriptionDocument,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAcreateFederationExecution in interface MetaFederationInteractionListenerfederationExecutionName - The name of the execution to create.federationDescriptionDocument - The encoded federation description
document.userSuppliedTag - 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 receiveHLAdestroyFederationExecution(java.lang.String federationExecutionName,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAdestroyFederationExecution in interface MetaFederationInteractionListenerfederationExecutionName - The name of the execution to destroy.userSuppliedTag - 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 receiveHLAjoinFederationExecution(java.lang.String federationExecutionName,
java.lang.String federateType,
long federateHandle,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAjoinFederationExecution in interface MetaFederationInteractionListenerfederationExecutionName - The name of the execution to join.federateType - The type of the joining federate.federateHandle - The handle of the joining federate.userSuppliedTag - 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 receiveHLAmergeFDD(byte[] federationDescriptionDocument,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAmergeFDD in interface ReflectionInteractionListenerfederationDescriptionDocument - The encoded federation description
document.userSuppliedTag - 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 federatepublic java.lang.String toString()
protected void proxyAmbassador_receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport,
LogicalTime theTime,
OrderType receivedOrdering)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
proxyAmbassador_receiveInteraction in class XRTIAmbassadorinteractionClass - 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 received (not used)
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 federateprotected TimeQueryReturn getEffectiveLogicalTime()
protected void computeGalt()
protected void computeLits()
protected TimeQueryReturn getGalt()
private TimeQueryReturn getMinimumGalt()
private void sendMessageSendInteraction(HLAMessageSendInteraction message)
message - message for the receiving federateprivate void sendMessageUpdateAttributeValues(HLAMessageUpdateAttributeValues message)
message - message for the receiving federateprivate void sendMessageDeleteObjectInstance(HLAMessageDeleteObjectInstance message)
message - message for the receiving federate
private void sendMessage(HLAMessage message)
throws FederateInternalError
message - message for the receiving federate
FederateInternalError - if the message type of queued message was not recognized
private void sendReceiveOrderMessages()
throws FederateInternalError
FederateInternalError - if the message type of queued message was not recognized
private void sendTimeStampMessages(LogicalTime theTime)
throws FederateInternalError
theTime - federate's new logical time
FederateInternalError - if the message type of queued message was not recognized
private void sendTimeStampMessagesAll()
throws FederateInternalError
FederateInternalError - if the message type of queued message was not recognizedprivate boolean canSendTimeAdvanceGrant()
private void sendTimeAdvanceGrant(LogicalTime theTime)
throws FederateInternalError
theTime - federate's new logical time
FederateInternalError
protected void sendTimeAdvanceGrantIfPossible()
throws FederateInternalError
FederateInternalError
private void logTimeRequest(byte[] theTime,
int timeService)
throws FederateInternalError
FederateInternalError
private void handleTimeRequest(byte[] theTime,
int timeService)
throws FederateInternalError
theTime - encoded logical timetimeService - federate's requested time service
FederateInternalError
public void receiveHLAenableTimeRegulation(byte[] HLAfederate,
byte[] HLAlookahead,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAenableTimeRegulation in interface ManagementInteractionListenerreceiveHLAenableTimeRegulation in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAlookahead - Lookahead to be used by the joined federate while
regulating other joined federates.userSuppliedTag - 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 receiveHLAdisableTimeRegulation(byte[] HLAfederate,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAdisableTimeRegulation in interface ManagementInteractionListenerreceiveHLAdisableTimeRegulation in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.userSuppliedTag - 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 receiveHLAenableTimeConstrained(byte[] HLAfederate,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAenableTimeConstrained in interface ManagementInteractionListenerreceiveHLAenableTimeConstrained in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.userSuppliedTag - 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 receiveHLAdisableTimeConstrained(byte[] HLAfederate,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAdisableTimeConstrained in interface ManagementInteractionListenerreceiveHLAdisableTimeConstrained in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.userSuppliedTag - 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 receiveHLAenableAsynchronousDelivery(byte[] HLAfederate,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAenableAsynchronousDelivery in interface ManagementInteractionListenerreceiveHLAenableAsynchronousDelivery in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.userSuppliedTag - 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 receiveHLAdisableAsynchronousDelivery(byte[] HLAfederate,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAdisableAsynchronousDelivery in interface ManagementInteractionListenerreceiveHLAdisableAsynchronousDelivery in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.userSuppliedTag - 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 receiveHLAtimeAdvanceRequest(byte[] HLAfederate,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAtimeAdvanceRequest in interface ManagementInteractionListenerreceiveHLAtimeAdvanceRequest in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAtimeStamp - Time stamp requested.userSuppliedTag - 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 receiveHLAtimeAdvanceRequestAvailable(byte[] HLAfederate,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAtimeAdvanceRequestAvailable in interface ManagementInteractionListenerreceiveHLAtimeAdvanceRequestAvailable in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAtimeStamp - Time stamp requested.userSuppliedTag - 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 receiveHLAnextMessageRequest(byte[] HLAfederate,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAnextMessageRequest in interface ManagementInteractionListenerreceiveHLAnextMessageRequest in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAtimeStamp - Time stamp requested.userSuppliedTag - 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 receiveHLAnextMessageRequestAvailable(byte[] HLAfederate,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAnextMessageRequestAvailable in interface ManagementInteractionListenerreceiveHLAnextMessageRequestAvailable in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAtimeStamp - Time stamp requested.userSuppliedTag - 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 receiveHLAflushQueueRequest(byte[] HLAfederate,
byte[] HLAtimeStamp,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAflushQueueRequest in interface ManagementInteractionListenerreceiveHLAflushQueueRequest in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAtimeStamp - Time stamp requested.userSuppliedTag - 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 receiveHLAregisterFederationSynchronizationPoint(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAregisterFederationSynchronizationPoint in interface BootstrapInteractionListenerreceiveHLAregisterFederationSynchronizationPoint in class XRTIAmbassadorsynchronizationPointLabel - Label associated with the synchronization
point.userSuppliedTag - 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 receiveHLAsynchronizationPointAchieved(byte[] HLAfederate,
java.lang.String HLAlabel,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveHLAsynchronizationPointAchieved in interface ManagementInteractionListenerreceiveHLAsynchronizationPointAchieved in class XRTIAmbassadorHLAfederate - Handle of the joined federate that was provided when
joining.HLAlabel - Label associated with the synchronization point.userSuppliedTag - 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
protected void sendAnnounceSynchronizationPoint(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
synchronizationPointLabel - the label of the synchronization pointuserSuppliedTag - a user-supplied tag to associate with the operationprotected FederateHandle getJoinedFederateHandle()
protected void sendFederationSynchronized(java.lang.String synchronizationPointLabel)
synchronizationPointLabel - the label of the synchronization point
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||