Package org.jcsp.lang
Interface BufferedChannelIntArrayFactory
-
- All Known Implementing Classes:
StandardChannelIntFactory
public interface BufferedChannelIntArrayFactoryDeprecated.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 integer carrying channels with user-definable buffering semantics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Any2AnyChannelInt[]createAny2Any(ChannelDataStoreInt buffer, int n)Deprecated.Creates a populated array ofnAny2Anychannels with the specified buffering behaviour.Any2OneChannelInt[]createAny2One(ChannelDataStoreInt buffer, int n)Deprecated.Creates a populated array ofnAny2Onechannels with the specified buffering behaviour.One2AnyChannelInt[]createOne2Any(ChannelDataStoreInt buffer, int n)Deprecated.Creates a populated array ofnOne2Anychannels with the specified buffering behaviour.One2OneChannelInt[]createOne2One(ChannelDataStoreInt buffer, int n)Deprecated.Creates a populated array ofnOne2Onechannels with the specified buffering behaviour.
-
-
-
Method Detail
-
createOne2One
One2OneChannelInt[] createOne2One(ChannelDataStoreInt buffer, int n)
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
Any2OneChannelInt[] createAny2One(ChannelDataStoreInt buffer, int n)
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
One2AnyChannelInt[] createOne2Any(ChannelDataStoreInt buffer, int n)
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
Any2AnyChannelInt[] createAny2Any(ChannelDataStoreInt buffer, int n)
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.
-
-