org.npsnet.xrti.proxies
Interface HelloWorldInteractionListener

All Known Implementing Classes:
HelloWorld

public interface HelloWorldInteractionListener

Autogenerated interaction listener interface.

Author:
org.npsnet.xrti.utilities.ProxyCompiler

Method Summary
 void receiveCommunication(java.lang.String message, byte[] userSuppliedTag, OrderType sentOrdering, TransportationType theTransport)
          A generic message.
 

Method Detail

receiveCommunication

public void receiveCommunication(java.lang.String message,
                                 byte[] userSuppliedTag,
                                 OrderType sentOrdering,
                                 TransportationType theTransport)
                          throws InteractionClassNotRecognized,
                                 InteractionParameterNotRecognized,
                                 InteractionClassNotSubscribed,
                                 FederateInternalError
A generic message.

Parameters:
message - The contents of the message.
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