AbstractChannel
Base Channel implementation, thread-safely handling listener registration/notification, close/isClosed bookkeeping, and a unique id (used to build Channel.streamTerms), so that concrete channels only have to implement the actual I/O (see AbstractInputChannel/AbstractOutputChannel).
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.