Package org.jcsp.lang
Interface ConnectionArrayFactory
- All Known Implementing Classes:
StandardConnectionFactory
public interface ConnectionArrayFactory
Defines an interface for a factory that can create arrays of connections.
- Author:
- Quickstone Technologies Limited
-
Method Summary
Modifier and TypeMethodDescriptioncreateAny2Any
(int n) Constructs and returns an array of instances of an implementation ofAny2AnyConnection
.createAny2One
(int n) Constructs and returns an array of instances of an implementation ofAny2OneConnection
.createOne2Any
(int n) Constructs and returns an array of instances of an implementation ofOne2AnyConnection
.createOne2One
(int n) Constructs and returns an array of instances of an implementation ofOne2OneConnection
.
-
Method Details
-
createOne2One
Constructs and returns an array of instances of an implementation ofOne2OneConnection
.- Parameters:
n
- the number ofOne2OneConnection
objects to construct.- Returns:
- the constructed array of
One2OneConnection
objects.
-
createAny2One
Constructs and returns an array of instances of an implementation ofAny2OneConnection
.- Parameters:
n
- the number ofAny2OneConnection
objects to construct.- Returns:
- the constructed array of
Any2OneConnection
objects.
-
createOne2Any
Constructs and returns an array of instances of an implementation ofOne2AnyConnection
.- Parameters:
n
- the number ofOne2AnyConnection
objects to construct.- Returns:
- the constructed array of
One2AnyConnection
objects.
-
createAny2Any
Constructs and returns an array of instances of an implementation ofAny2AnyConnection
.- Parameters:
n
- the number ofAny2AnyConnection
objects to construct.- Returns:
- the constructed array of
Any2AnyConnection
objects.
-