Package org.jcsp.lang
Interface ChannelFactory
- All Known Implementing Classes:
FilteredChannelFactory
,StandardChannelFactory
public interface ChannelFactory
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
Modifier and TypeMethodDescriptionDeprecated.Creates a newAny2Any
channel.Deprecated.Creates a newAny2One
channel.Deprecated.Creates a newOne2Any
channel.Deprecated.Creates a newOne2One
channel.
-
Method Details
-
createOne2One
One2OneChannel createOne2One()Deprecated.Creates a newOne2One
channel.- Returns:
- the created channel.
-
createAny2One
Any2OneChannel createAny2One()Deprecated.Creates a newAny2One
channel.- Returns:
- the created channel.
-
createOne2Any
One2AnyChannel createOne2Any()Deprecated.Creates a newOne2Any
channel.- Returns:
- the created channel.
-
createAny2Any
Any2AnyChannel createAny2Any()Deprecated.Creates a newAny2Any
channel.- Returns:
- the created channel.
-