Package org.jcsp.lang
Interface BufferedChannelFactory
- All Known Implementing Classes:
FilteredChannelFactory,StandardChannelFactory
public interface BufferedChannelFactory
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.
- Author:
- Quickstone Technologies Limited
-
Method Summary
Modifier and TypeMethodDescriptioncreateAny2Any(ChannelDataStore buffer) Deprecated.Creates a newAny2Anychannel with the given buffering behaviour.createAny2One(ChannelDataStore buffer) Deprecated.Creates a newAny2Onechannel with the given buffering behaviour.createOne2Any(ChannelDataStore buffer) Deprecated.Creates a newOne2Anychannel with the given buffering behaviour.createOne2One(ChannelDataStore buffer) Deprecated.Creates a newOne2Onechannel with the given buffering behaviour.
-
Method Details
-
createOne2One
Deprecated.Creates a newOne2Onechannel with the given buffering behaviour.- Parameters:
buffer- the buffer implementation to use.- Returns:
- the created channel.
-
createAny2One
Deprecated.Creates a newAny2Onechannel with the given buffering behaviour.- Parameters:
buffer- the buffer implementation to use.- Returns:
- the created channel.
-
createOne2Any
Deprecated.Creates a newOne2Anychannel with the given buffering behaviour.- Parameters:
buffer- the buffer implementation to use.- Returns:
- the created channel.
-
createAny2Any
Deprecated.Creates a newAny2Anychannel with the given buffering behaviour.- Parameters:
buffer- the buffer implementation to use.- Returns:
- the created channel.
-