class BufferedAny2AnyChannelIntImpl extends Any2AnyIntImpl
Please note that this is a sefely shared channel and not
a multicaster. Currently, multicasting has to be managed by
writing active processes (see DynamicDelta
for an example of broadcasting).
All reading processes and writing processes commit to the channel
(i.e. may not back off). This means that the reading processes
may not ALT
on this channel.
The constructor requires the user to provide
the channel with a plug-in driver conforming to the
ChannelDataStoreInt
interface. This allows a variety of different channel semantics to be
introduced -- including buffered channels of user-defined capacity
(including infinite), overwriting channels (with various overwriting
policies) etc..
Standard examples are given in the org.jcsp.util package, but
careful users may write their own.
Constructor and Description |
---|
BufferedAny2AnyChannelIntImpl(ChannelDataStoreInt data) |
endRead, in, out, read, readerDisable, readerEnable, readerPending, readerPoison, startRead, write, writerPoison
public BufferedAny2AnyChannelIntImpl(ChannelDataStoreInt data)