|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.utilities.ProxyAmbassador
org.npsnet.xrti.proxies.BootstrapProxyAmbassador
Autogenerated proxy ambassador.
| Field Summary |
| Fields inherited from class org.npsnet.xrti.utilities.ProxyAmbassador |
objectInstanceHandleProxyMap, proxyAmbassadorListeners, rtiAmbassador |
| Constructor Summary | |
BootstrapProxyAmbassador(RTIambassador pRTIAmbassador)
Constructor. |
|
| Method Summary | |
void |
addInteractionListener(BootstrapInteractionListener il)
Adds a listener for the interactions processed by this ambassador. |
void |
publishAndSubscribeObjectClassAttributes()
Publishes and subscribes all supported object class attributes. |
void |
receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
Notifies the federate of a received interaction. |
void |
removeInteractionListener(BootstrapInteractionListener il)
Removes a listener for the interactions processed by this ambassador. |
void |
sendHLAannounceSynchronizationPoint(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
Notifies the federate that a synchronization point has been announced. |
void |
sendHLAcontinue(byte[] userSuppliedTag)
Notifies the federate that the executive is done sending callbacks. |
void |
sendHLAfederationSynchronized(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
Notifies the federate that the federation has been synchronized. |
void |
sendHLAinteractionFragment(int interactionNumber,
int interactionSize,
int fragmentOffset,
byte[] fragmentContents,
byte[] userSuppliedTag)
A piece of a fragmented interaction. |
void |
sendHLAregisterFederationSynchronizationPoint(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
Federate's request for registering a federation synchronization point. |
void |
sendHLAregisterObjectInstance(java.lang.String objectName,
long objectInstanceHandle,
long objectClassHandle,
byte[] userSuppliedTag)
Registers a new object instance. |
void |
sendHLAreportHandles(long blockStart,
long blockSize,
byte[] userSuppliedTag)
Reports a block of handles. |
void |
sendHLArequestAttributeValueUpdate(long objectInstanceHandle,
long[] attributeHandleList,
byte[] userSuppliedTag)
Requests an attribute value update. |
void |
sendHLArequestHandles(long blockSize,
byte[] userSuppliedTag)
Requests a block of handles. |
void |
sendHLAresultBoolean(boolean result,
byte[] userSuppliedTag)
Notifies the federate about the result of last invoked service. |
void |
sendHLAsynchronizationPointRegistrationFailed(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
Notifies the federate that the synchronization point registration operation has failed. |
void |
sendHLAsynchronizationPointRegistrationSucceeded(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
Notifies the federate that the synchronization point registration operation has succeeded. |
void |
sendHLAtimeAdvanceGrant(byte[] theTime,
byte[] userSuppliedTag)
Notifies the federate that a time advance has been granted. |
void |
sendHLAtimeConstrainedEnabled(byte[] time,
byte[] userSuppliedTag)
Notifies the federate that time-constrained mode has been enabled. |
void |
sendHLAtimeRegulationEnabled(byte[] time,
byte[] userSuppliedTag)
Notifies the federate that time regulation has been enabled. |
void |
sendHLAupdateAttributeValuesBestEffort(long objectInstanceHandle,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag)
Updates a set of attribute values with best-effort transportation and receive ordering. |
void |
sendHLAupdateAttributeValuesReliable(long objectInstanceHandle,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag)
Updates a set of attribute values with reliable transportation and receive ordering. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BootstrapProxyAmbassador(RTIambassador pRTIAmbassador)
throws InvalidInteractionClassHandle,
InvalidObjectClassHandle,
NameNotFound,
InteractionClassNotDefined,
FederateServiceInvocationsAreBeingReportedViaMOM,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
pRTIAmbassador - the run-time infrastructure ambassador
InvalidInteractionClassHandle - if an interaction class handle was invalid
NameNotFound - if an interaction or parameter name was not found
InteractionClassNotDefined - if an interaction class is not defined
FederateServiceInvocationsAreBeingReportedViaMOM - if federate service invocations
are being reported via the management object model
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
InvalidObjectClassHandle| Method Detail |
public void publishAndSubscribeObjectClassAttributes()
throws InvalidObjectClassHandle,
NameNotFound,
ObjectClassNotDefined,
AttributeNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
InvalidObjectClassHandle - if an object class handle is invalid
NameNotFound - if a name is not found
ObjectClassNotDefined - if an object class is undefined
AttributeNotDefined - if an attribute is undefined
FederateNotExecutionMember - if the federate is not an
execution member
SaveInProgress - if a save operation is in progress
RestoreInProgress - if a restore operation is in progress
RTIinternalError - if an internal error occurs in the
run-time infrastructurepublic void addInteractionListener(BootstrapInteractionListener il)
il - the listener object to addpublic void removeInteractionListener(BootstrapInteractionListener il)
il - the listener object to remove
public void receiveInteraction(InteractionClassHandle interactionClass,
ParameterHandleValueMap theParameters,
byte[] userSuppliedTag,
OrderType sentOrdering,
TransportationType theTransport)
throws InteractionClassNotRecognized,
InteractionParameterNotRecognized,
InteractionClassNotSubscribed,
FederateInternalError
receiveInteraction in interface FederateAmbassadorreceiveInteraction in class ProxyAmbassadorinteractionClass - 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 sendHLAinteractionFragment(int interactionNumber,
int interactionSize,
int fragmentOffset,
byte[] fragmentContents,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
interactionNumber - The sequence number of the fragmented interaction.interactionSize - The size of the fragmented interaction.fragmentOffset - The offset of this fragment in the buffer.fragmentContents - The contents of the fragment.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLArequestHandles(long blockSize,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
blockSize - The number of handles desired.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAreportHandles(long blockStart,
long blockSize,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
blockStart - The first handle in the block.blockSize - The number of handles in the block.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAcontinue(byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAregisterObjectInstance(java.lang.String objectName,
long objectInstanceHandle,
long objectClassHandle,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
objectName - The name of the object.objectInstanceHandle - The object instance handle.objectClassHandle - The object class handle.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLArequestAttributeValueUpdate(long objectInstanceHandle,
long[] attributeHandleList,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
objectInstanceHandle - Object instance handle.attributeHandleList - List of attribute handles.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAupdateAttributeValuesBestEffort(long objectInstanceHandle,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
objectInstanceHandle - Object instance handle.attributeHandleValuePairList - List of attribute handle/value pairs.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAupdateAttributeValuesReliable(long objectInstanceHandle,
HLAattributeHandleValuePair[] attributeHandleValuePairList,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
objectInstanceHandle - Object instance handle.attributeHandleValuePairList - List of attribute handle/value pairs.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAresultBoolean(boolean result,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
result - Result of last invoked service.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAtimeRegulationEnabled(byte[] time,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
time - The current logical timeuserSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAtimeConstrainedEnabled(byte[] time,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
time - The current logical timeuserSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAtimeAdvanceGrant(byte[] theTime,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
theTime - The new logical timeuserSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAregisterFederationSynchronizationPoint(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
synchronizationPointLabel - Label associated with the synchronization
point.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAsynchronizationPointRegistrationSucceeded(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
synchronizationPointLabel - Label associated with the synchronization
point.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAsynchronizationPointRegistrationFailed(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
synchronizationPointLabel - Label associated with the synchronization
point.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAannounceSynchronizationPoint(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
synchronizationPointLabel - Label associated with the synchronization
point.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
public void sendHLAfederationSynchronized(java.lang.String synchronizationPointLabel,
byte[] userSuppliedTag)
throws InteractionClassNotPublished,
InteractionClassNotDefined,
InteractionParameterNotDefined,
FederateNotExecutionMember,
SaveInProgress,
RestoreInProgress,
RTIinternalError
synchronizationPointLabel - Label associated with the synchronization
point.userSuppliedTag - a user-supplied tag to accompany the interaction
InteractionClassNotPublished - if the interaction class is not published
InteractionClassNotDefined - if the interaction class is not defined
InteractionParameterNotDefined - if one of the parameters is not defined
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 occurs in the run-time infrastructure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||