Package org.jcsp.lang
Interface ChannelFactory<T>
-
- All Known Implementing Classes:
FilteredChannelFactory,StandardChannelFactory
public interface ChannelFactory<T>Deprecated.These channel factories are deprecated in favour of the new one2one() methods in the Channel class.Defines an interface for a factory to create instances of channels.- Author:
- Quickstone Technologies Limited
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Any2AnyChannel<T>createAny2Any()Deprecated.Creates a newAny2Anychannel.Any2OneChannel<T>createAny2One()Deprecated.Creates a newAny2Onechannel.One2AnyChannel<T>createOne2Any()Deprecated.Creates a newOne2Anychannel.One2OneChannel<T>createOne2One()Deprecated.Creates a newOne2Onechannel.
-
-
-
Method Detail
-
createOne2One
One2OneChannel<T> createOne2One()
Deprecated.Creates a newOne2Onechannel.- Returns:
- the created channel.
-
createAny2One
Any2OneChannel<T> createAny2One()
Deprecated.Creates a newAny2Onechannel.- Returns:
- the created channel.
-
createOne2Any
One2AnyChannel<T> createOne2Any()
Deprecated.Creates a newOne2Anychannel.- Returns:
- the created channel.
-
createAny2Any
Any2AnyChannel<T> createAny2Any()
Deprecated.Creates a newAny2Anychannel.- Returns:
- the created channel.
-
-