Interface Rejecting

  • All Known Implementing Classes:
    DestinationAirport, Track

    public interface Rejecting
    An interface for actors that can reject inputs.
    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    Marjan Sirjani and Edward A. Lee
    • Method Detail

      • reject

        boolean reject​(Token token,
                       IOPort port)
        Return true if the token cannot be accepted at the specified port.
        Parameters:
        token - The token that may be rejected.
        port - The port.
        Returns:
        True to reject the token.