Class CrossSectionElementTransceiver

    • Constructor Detail

      • CrossSectionElementTransceiver

        public CrossSectionElementTransceiver​(OTSNetwork network)
        Construct a new CrossSectionElementTransceiver for an OTS network.
        Parameters:
        network - OTSNetwork; the OTS network
    • Method Detail

      • get

        public java.lang.Object[] get​(java.lang.Object[] address,
                                      ReturnWrapper returnWrapper)
                               throws java.rmi.RemoteException,
                                      Sim0MQException,
                                      SerializationException
        Retrieve the data.
        Parameters:
        address - Object[]; the address of the data to retrieve
        returnWrapper - ReturnWrapper; to be used to report problems
        Returns:
        Object[]; the retrieved data, or null when no object with the address could be found
        Throws:
        java.rmi.RemoteException - when communication needed to retrieve the data failed
        Sim0MQException - when encoding an error message fails
        SerializationException - when encoding an error message fails