Class PublisherTest

    • Method Detail

      • fire

        public void fire()
                  throws IllegalActionException
        Read at most one input token from each input channel and send it to the subscribers, if any. Read one token from each input channel and compare against the value specified in correctValues. If the value matches, then output false (to indicate that the test is not complete yet) and return. Otherwise, throw an exception. If the iteration count is larger than the length of correctValues, then output true and return, indicating that the test is complete, i.e. that all values in correctValues have been matched.
        Specified by:
        fire in interface Executable
        Overrides:
        fire in class PublisherNonStrictTest
        Throws:
        IllegalActionException - If there is no director.