public class InteractionClassModelManager
extends java.lang.Object
Constructor and Description |
---|
InteractionClassModelManager() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,InteractionClassModel> |
getPublishedMap() |
java.util.Map<java.lang.String,InteractionClassModel> |
getSubscribedMap() |
boolean |
interactionInstanceHandleIsSubscribed(hla.rti1516e.InteractionClassHandle arg0) |
void |
publish(java.lang.Object interaction) |
java.lang.Object |
receiveInteraction(hla.rti1516e.InteractionClassHandle arg0,
hla.rti1516e.ParameterHandleValueMap arg1) |
void |
subscribe(java.lang.Class<? extends InteractionClass> interactionClass) |
void |
unsubscribe(java.lang.Class<? extends InteractionClass> interactionClass) |
public java.util.Map<java.lang.String,InteractionClassModel> getPublishedMap()
public java.util.Map<java.lang.String,InteractionClassModel> getSubscribedMap()
public void publish(java.lang.Object interaction) throws hla.rti1516e.exceptions.RTIinternalError, hla.rti1516e.exceptions.NameNotFound, hla.rti1516e.exceptions.FederateNotExecutionMember, hla.rti1516e.exceptions.NotConnected, hla.rti1516e.exceptions.InvalidInteractionClassHandle, hla.rti1516e.exceptions.InteractionClassNotDefined, hla.rti1516e.exceptions.SaveInProgress, hla.rti1516e.exceptions.RestoreInProgress, hla.rti1516e.exceptions.InteractionClassNotPublished, hla.rti1516e.exceptions.InteractionParameterNotDefined
hla.rti1516e.exceptions.RTIinternalError
hla.rti1516e.exceptions.NameNotFound
hla.rti1516e.exceptions.FederateNotExecutionMember
hla.rti1516e.exceptions.NotConnected
hla.rti1516e.exceptions.InvalidInteractionClassHandle
hla.rti1516e.exceptions.InteractionClassNotDefined
hla.rti1516e.exceptions.SaveInProgress
hla.rti1516e.exceptions.RestoreInProgress
hla.rti1516e.exceptions.InteractionClassNotPublished
hla.rti1516e.exceptions.InteractionParameterNotDefined
public void subscribe(java.lang.Class<? extends InteractionClass> interactionClass) throws hla.rti1516e.exceptions.RTIinternalError, hla.rti1516e.exceptions.NameNotFound, hla.rti1516e.exceptions.FederateNotExecutionMember, hla.rti1516e.exceptions.NotConnected, hla.rti1516e.exceptions.InvalidInteractionClassHandle, hla.rti1516e.exceptions.FederateServiceInvocationsAreBeingReportedViaMOM, hla.rti1516e.exceptions.InteractionClassNotDefined, hla.rti1516e.exceptions.SaveInProgress, hla.rti1516e.exceptions.RestoreInProgress, java.lang.InstantiationException, java.lang.IllegalAccessException
hla.rti1516e.exceptions.RTIinternalError
hla.rti1516e.exceptions.NameNotFound
hla.rti1516e.exceptions.FederateNotExecutionMember
hla.rti1516e.exceptions.NotConnected
hla.rti1516e.exceptions.InvalidInteractionClassHandle
hla.rti1516e.exceptions.FederateServiceInvocationsAreBeingReportedViaMOM
hla.rti1516e.exceptions.InteractionClassNotDefined
hla.rti1516e.exceptions.SaveInProgress
hla.rti1516e.exceptions.RestoreInProgress
java.lang.InstantiationException
java.lang.IllegalAccessException
public void unsubscribe(java.lang.Class<? extends InteractionClass> interactionClass) throws hla.rti1516e.exceptions.InteractionClassNotDefined, hla.rti1516e.exceptions.SaveInProgress, hla.rti1516e.exceptions.RestoreInProgress, hla.rti1516e.exceptions.FederateNotExecutionMember, hla.rti1516e.exceptions.NotConnected, hla.rti1516e.exceptions.RTIinternalError
hla.rti1516e.exceptions.InteractionClassNotDefined
hla.rti1516e.exceptions.SaveInProgress
hla.rti1516e.exceptions.RestoreInProgress
hla.rti1516e.exceptions.FederateNotExecutionMember
hla.rti1516e.exceptions.NotConnected
hla.rti1516e.exceptions.RTIinternalError
public boolean interactionInstanceHandleIsSubscribed(hla.rti1516e.InteractionClassHandle arg0)
public java.lang.Object receiveInteraction(hla.rti1516e.InteractionClassHandle arg0, hla.rti1516e.ParameterHandleValueMap arg1)
Author: SMASH LAB - University of Calabria (UNICAL)