Class AbstractIdTransceiver

    • Constructor Detail

      • AbstractIdTransceiver

        public AbstractIdTransceiver​(OTSNetwork network,
                                     java.lang.String id)
        Construct a GTUIdTransceiver.
        Parameters:
        network - OTSNetwork; the OTS network
        id - String; name of the IdTransceiver
    • Method Detail

      • get

        public final java.lang.Object[] get​(java.lang.Object[] address,
                                            ReturnWrapper returnWrapper)
                                     throws 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:
        Sim0MQException - when encoding an error message fails
        SerializationException - when encoding an error message fails