Uses of Interface
org.jcsp.lang.One2OneChannel
Packages that use One2OneChannel
Package
Description
This provides classes and interfaces corresponding to the fundamental
primitives of CSP.
This defines filtering channels that can apply transformations to objects
as they are read and/or written.
-
Uses of One2OneChannel in org.jcsp.lang
Methods in org.jcsp.lang that return One2OneChannelModifier and TypeMethodDescriptionOne2OneChannel<T>[]BufferedChannelArrayFactory.createOne2One(ChannelDataStore<T> buffer, int n) Deprecated.Creates a populated array ofnOne2Onechannels with the specified buffering behaviour.BufferedChannelFactory.createOne2One(ChannelDataStore<T> buffer) Deprecated.Creates a newOne2Onechannel with the given buffering behaviour.static One2OneChannelChannel.createOne2One()Deprecated.static One2OneChannel[]Channel.createOne2One(int n) Deprecated.Use theChannel.one2oneArray(int)method instead.static One2OneChannelChannel.createOne2One(ChannelDataStore buffer) Deprecated.Use theChannel.one2one(ChannelDataStore)method instead.static One2OneChannel[]Channel.createOne2One(ChannelDataStore buffer, int n) Deprecated.Use theChannel.one2oneArray(int,ChannelDataStore)method instead.One2OneChannel<T>[]ChannelArrayFactory.createOne2One(int n) Deprecated.Creates a populated array ofnOne2Onechannels.ChannelFactory.createOne2One()Deprecated.Creates a newOne2Onechannel.StandardChannelFactory.createOne2One()Constructs and returns aOne2OneChannelobject.One2OneChannel<T>[]StandardChannelFactory.createOne2One(int n) Constructs and returns an array ofOne2OneChannelobjects.StandardChannelFactory.createOne2One(ChannelDataStore<T> buffer) Constructs and returns aOne2OneChannelobject which uses the specifiedChannelDataStoreobject as a buffer.One2OneChannel<T>[]StandardChannelFactory.createOne2One(ChannelDataStore<T> buffer, int n) Constructs and returns an array ofOne2OneChannelobjects which use the specifiedChannelDataStoreobject as a buffer.static <T> One2OneChannel<T> Channel.one2one()This constructs an Object carrying channel that may only be connected to one writer and one reader process at a time.static <T> One2OneChannel<T> Channel.one2one(int immunity) This constructs a poisonable one-one Object channel.static <T> One2OneChannel<T> Channel.one2one(ChannelDataStore<T> buffer) This constructs a one-one Object channel with user chosen buffering size and policy.static <T> One2OneChannel<T> Channel.one2one(ChannelDataStore<T> buffer, int immunity) This constructs a buffered poisonable one-one Object channel.static <T> One2OneChannel<T>[]Channel.one2oneArray(int size) This constructs an array of one-one Object channels.static <T> One2OneChannel<T>[]Channel.one2oneArray(int size, int immunity) This constructs an array of poisonable one-one Object channels.static <T> One2OneChannel<T>[]Channel.one2oneArray(int size, ChannelDataStore<T> buffer) This constructs an array of buffered one-one Object channels.static <T> One2OneChannel<T>[]Channel.one2oneArray(int size, ChannelDataStore<T> buffer, int immunity) This constructs an array of buffered poisonable one-one Object channels.Methods in org.jcsp.lang with parameters of type One2OneChannelModifier and TypeMethodDescriptionstatic <T> AltingChannelInput<T>[]Channel.getInputArray(One2OneChannel<T>[] c) This extracts the input-ends from the given channel array.static <T> ChannelOutput<T>[]Channel.getOutputArray(One2OneChannel<T>[] c) This extracts the output-ends from the given channel array. -
Uses of One2OneChannel in org.jcsp.util.filter
Subinterfaces of One2OneChannel in org.jcsp.util.filterModifier and TypeInterfaceDescriptioninterfaceInterface for aOne2Onechannel that supports filtering operations at each end.Methods in org.jcsp.util.filter that return One2OneChannelModifier and TypeMethodDescriptionFilteredChannelFactory.createOne2One()Creates a new One2One channel with the filtering options set for this factory.FilteredChannelFactory.createOne2One(int n) Constructs and returns an array ofOne2OneChannelobjects.FilteredChannelFactory.createOne2One(ChannelDataStore buffer) Creates a new One2One channel with the filtering options set for this factory and the specified data buffer.FilteredChannelFactory.createOne2One(ChannelDataStore buffer, int n) Constructs and returns an array ofOne2OneChannelobjects with a given buffering behaviour.
Channel.one2one()method instead.