Package org.jcsp.lang

Interface Poisonable

    • Method Detail

      • poison

        void poison​(int strength)
        This injects poison into the channel. If the channel was not explicitly constructed to be poisonable or if the strength of poison is not greater than the channel immunity level, the poison will have no effect.
        Parameters:
        strength - the strength of the poison (must be >= 0).