cz.zcu.fav.kiv.jsim.proxies
Interface JSimInteractionListener


public interface JSimInteractionListener

Autogenerated interaction listener interface.

Author:
org.npsnet.xrti.utilities.ProxyCompiler

Method Summary
 void receiveJSimEndOfSimulation(byte[] data, byte[] userSuppliedTag, OrderType sentOrdering, TransportationType theTransport)
          JSim End Of Simulation
 void receiveJSimRequest(byte[] header, byte[] data, byte[] userSuppliedTag, OrderType sentOrdering, TransportationType theTransport)
          JSim Request
 void receiveJSimResponse(byte[] header, byte[] data, byte[] userSuppliedTag, OrderType sentOrdering, TransportationType theTransport)
          JSim Response
 

Method Detail

receiveJSimRequest

public void receiveJSimRequest(byte[] header,
                               byte[] data,
                               byte[] userSuppliedTag,
                               OrderType sentOrdering,
                               TransportationType theTransport)
                        throws InteractionClassNotRecognized,
                               InteractionParameterNotRecognized,
                               InteractionClassNotSubscribed,
                               FederateInternalError
JSim Request

Parameters:
header -
data -
userSuppliedTag - a user-supplied tag associated with the interaction
sentOrdering - the type of ordering with which the interaction was sent
theTransport - the type of transport associated with the interaction
Throws:
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

receiveJSimResponse

public void receiveJSimResponse(byte[] header,
                                byte[] data,
                                byte[] userSuppliedTag,
                                OrderType sentOrdering,
                                TransportationType theTransport)
                         throws InteractionClassNotRecognized,
                                InteractionParameterNotRecognized,
                                InteractionClassNotSubscribed,
                                FederateInternalError
JSim Response

Parameters:
header -
data -
userSuppliedTag - a user-supplied tag associated with the interaction
sentOrdering - the type of ordering with which the interaction was sent
theTransport - the type of transport associated with the interaction
Throws:
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

receiveJSimEndOfSimulation

public void receiveJSimEndOfSimulation(byte[] data,
                                       byte[] userSuppliedTag,
                                       OrderType sentOrdering,
                                       TransportationType theTransport)
                                throws InteractionClassNotRecognized,
                                       InteractionParameterNotRecognized,
                                       InteractionClassNotSubscribed,
                                       FederateInternalError
JSim End Of Simulation

Parameters:
data -
userSuppliedTag - a user-supplied tag associated with the interaction
sentOrdering - the type of ordering with which the interaction was sent
theTransport - the type of transport associated with the interaction
Throws:
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