Package org.jcsp.lang
Interface BufferedChannelFactory<T>
- All Known Implementing Classes:
FilteredChannelFactory
,StandardChannelFactory
public interface BufferedChannelFactory<T>
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 channels with user-definable buffering semantics.
-
Method Summary
Modifier and TypeMethodDescriptioncreateAny2Any
(ChannelDataStore<T> buffer) Deprecated.Creates a newAny2Any
channel with the given buffering behaviour.createAny2One
(ChannelDataStore<T> buffer) Deprecated.Creates a newAny2One
channel with the given buffering behaviour.createOne2Any
(ChannelDataStore<T> buffer) Deprecated.Creates a newOne2Any
channel with the given buffering behaviour.createOne2One
(ChannelDataStore<T> buffer) Deprecated.Creates a newOne2One
channel with the given buffering behaviour.
-
Method Details
-
createOne2One
Deprecated.Creates a newOne2One
channel with the given buffering behaviour.- Parameters:
buffer
- the buffer implementation to use.- Returns:
- the created channel.
-
createAny2One
Deprecated.Creates a newAny2One
channel with the given buffering behaviour.- Parameters:
buffer
- the buffer implementation to use.- Returns:
- the created channel.
-
createOne2Any
Deprecated.Creates a newOne2Any
channel with the given buffering behaviour.- Parameters:
buffer
- the buffer implementation to use.- Returns:
- the created channel.
-
createAny2Any
Deprecated.Creates a newAny2Any
channel with the given buffering behaviour.- Parameters:
buffer
- the buffer implementation to use.- Returns:
- the created channel.
-