AbstractInputChannel
Base InputChannel implementation, adding a one-element lookahead queue on top of AbstractChannel so that peek and isOver both work without consuming an element, while subclasses only need to implement the actual blocking read in readActually.
Inheritors
Properties
Link copied to clipboard
The Prolog $stream(Direction, Id)-like Struct term identifying this channel, e.g. for current_output/1.
Functions
Link copied to clipboard
Registers listener to be invoked with every element subsequently transiting this channel.
Link copied to clipboard
Unregisters every currently-registered Listener.
Link copied to clipboard
Unregisters listener, previously added via addListener.