Package org.jcsp.lang
Interface BufferedChannelArrayFactory
- All Known Implementing Classes:
FilteredChannelFactory,StandardChannelFactory
public interface BufferedChannelArrayFactory
Deprecated.
These channel factories are deprecated in favour of the new one2one() methods in the Channel class.
Defines an interface for a factory that can create arrays of channels with user-definable
buffering semantics.
- Author:
- Quickstone Technologies Limited
-
Method Summary
Modifier and TypeMethodDescriptioncreateAny2Any(ChannelDataStore buffer, int n) Deprecated.Creates a populated array ofnAny2Anychannels with the specified buffering behaviour.createAny2One(ChannelDataStore buffer, int n) Deprecated.Creates a populated array ofnAny2Onechannels with the specified buffering behaviour.createOne2Any(ChannelDataStore buffer, int n) Deprecated.Creates a populated array ofnOne2Anychannels with the specified buffering behaviour.createOne2One(ChannelDataStore buffer, int n) Deprecated.Creates a populated array ofnOne2Onechannels with the specified buffering behaviour.
-
Method Details
-
createOne2One
Deprecated.Creates a populated array ofnOne2Onechannels with the specified buffering behaviour.- Parameters:
buffer- the buffer implementation to use.n- the size of the array.- Returns:
- the created array of channels.
-
createAny2One
Deprecated.Creates a populated array ofnAny2Onechannels with the specified buffering behaviour.- Parameters:
buffer- the buffer implementation to use.n- the size of the array.- Returns:
- the created array of channels.
-
createOne2Any
Deprecated.Creates a populated array ofnOne2Anychannels with the specified buffering behaviour.- Parameters:
buffer- the buffer implementation to use.n- the size of the array.- Returns:
- the created array of channels.
-
createAny2Any
Deprecated.Creates a populated array ofnAny2Anychannels with the specified buffering behaviour.- Parameters:
buffer- the buffer implementation to use.n- the size of the array.- Returns:
- the created array of channels.
-