Package org.jcsp.lang

Class RejectableChannelInputImpl

    • Constructor Detail

      • RejectableChannelInputImpl

        public RejectableChannelInputImpl​(ChannelInternals _channel,
                                          int _immunity)
    • Method Detail

      • reject

        public void reject()
        Description copied from interface: RejectableChannelInput
        Reject any data pending instead of reading it. The currently blocked writer will receive a ChannelDataRejectedException.
        Specified by:
        reject in interface RejectableChannelInput