Uses of Interface
org.jcsp.lang.Any2OneChannel
Packages that use Any2OneChannel
Package
Description
This provides classes and interfaces corresponding to the fundamental
primitives of CSP.
This is main package for JCSP.NET.
This defines filtering channels that can apply transformations to objects
as they are read and/or written.
-
Uses of Any2OneChannel in org.jcsp.lang
Methods in org.jcsp.lang that return Any2OneChannelModifier and TypeMethodDescriptionstatic <T> Any2OneChannel<T> Channel.any2one()This constructs an Object carrying channel that may be connected to any number of writer processes, but only one reader at a time.static <T> Any2OneChannel<T> Channel.any2one(int immunity) This constructs a poisonable any-one Object channel.static <T> Any2OneChannel<T> Channel.any2one(ChannelDataStore<T> buffer) This constructs an any-one Object channel with user chosen buffering size and policy.static <T> Any2OneChannel<T> Channel.any2one(ChannelDataStore<T> buffer, int immunity) This constructs a buffered poisonable any-one Object channel.static <T> Any2OneChannel<T>[]Channel.any2oneArray(int size) This constructs an array of any-one Object channels.static <T> Any2OneChannel<T>[]Channel.any2oneArray(int size, int immunity) This constructs an array of poisonable any-one Object channels.static <T> Any2OneChannel<T>[]Channel.any2oneArray(int size, ChannelDataStore<T> buffer) This constructs an array of buffered any-one Object channels.static <T> Any2OneChannel<T>[]Channel.any2oneArray(int size, ChannelDataStore<T> buffer, int immunity) This constructs an array of buffered poisonable any-one Object channels.Any2OneChannel<T>[]BufferedChannelArrayFactory.createAny2One(ChannelDataStore<T> buffer, int n) Deprecated.Creates a populated array ofnAny2Onechannels with the specified buffering behaviour.BufferedChannelFactory.createAny2One(ChannelDataStore<T> buffer) Deprecated.Creates a newAny2Onechannel with the given buffering behaviour.static Any2OneChannelChannel.createAny2One()Deprecated.static Any2OneChannel[]Channel.createAny2One(int n) Deprecated.Use theChannel.any2oneArray(int)method instead.static Any2OneChannelChannel.createAny2One(ChannelDataStore buffer) Deprecated.Use theChannel.any2one(ChannelDataStore)method instead.static Any2OneChannel[]Channel.createAny2One(ChannelDataStore buffer, int n) Deprecated.Use theChannel.any2oneArray(int,ChannelDataStore)method instead.Any2OneChannel<T>[]ChannelArrayFactory.createAny2One(int n) Deprecated.Creates a populated array ofnAny2Onechannels.ChannelFactory.createAny2One()Deprecated.Creates a newAny2Onechannel.StandardChannelFactory.createAny2One()Constructs and returns anAny2OneChannelobject.Any2OneChannel<T>[]StandardChannelFactory.createAny2One(int n) Constructs and returns an array ofAny2OneChannelobjects.StandardChannelFactory.createAny2One(ChannelDataStore<T> buffer) Constructs and returns aAny2OneChannelobject which uses the specifiedChannelDataStoreobject as a buffer.Any2OneChannel<T>[]StandardChannelFactory.createAny2One(ChannelDataStore<T> buffer, int n) Constructs and returns an array ofAny2OneChannelobjects which use the specifiedChannelDataStoreobject as a buffer.Methods in org.jcsp.lang with parameters of type Any2OneChannelModifier and TypeMethodDescriptionstatic <T> AltingChannelInput<T>[]Channel.getInputArray(Any2OneChannel<T>[] c) This extracts the input-ends from the given channel array.static <T> SharedChannelOutput<T>[]Channel.getOutputArray(Any2OneChannel<T>[] c) This extracts the output-ends from the given channel array. -
Uses of Any2OneChannel in org.jcsp.net
Constructors in org.jcsp.net with parameters of type Any2OneChannelModifierConstructorDescriptionprotectedNetSharedAltingConnectionClient(Any2OneChannel synchChan, NetAltingChannelInput fromServer, NetChannelOutput openToServer, NetChannelOutput reqToServer, NetChannelOutput backToClient) Constructor for NetSharedAltingConnectionClient. -
Uses of Any2OneChannel in org.jcsp.util.filter
Subinterfaces of Any2OneChannel in org.jcsp.util.filterModifier and TypeInterfaceDescriptioninterfaceInterface for an Any2One channel that supports filtering operations at each end.Methods in org.jcsp.util.filter that return Any2OneChannelModifier and TypeMethodDescriptionFilteredChannelFactory.createAny2One()Creates a new Any2One channel with the filtering options set for this factory.FilteredChannelFactory.createAny2One(int n) Constructs and returns an array ofAny2OneChannelobjects.FilteredChannelFactory.createAny2One(ChannelDataStore buffer) Creates a new Any2One channel with the filtering options set for this factory and the specified data buffer.FilteredChannelFactory.createAny2One(ChannelDataStore buffer, int n) Constructs and returns an array ofAny2OneChannelobjects with a given buffering behaviour.
Channel.any2one()method instead.