CSP for Java
(JCSP) 1.1-rc4

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
 Any2AnyConnection[] createAny2Any(int n)
          Constructs and returns an array of instances of an implementation of Any2AnyConnection.
 Any2OneConnection[] createAny2One(int n)
          Constructs and returns an array of instances of an implementation of Any2OneConnection.
 One2AnyConnection[] createOne2Any(int n)
          Constructs and returns an array of instances of an implementation of One2AnyConnection.
 One2OneConnection[] createOne2One(int n)
          Constructs and returns an array of instances of an implementation of One2OneConnection.
 

Method Detail

createOne2One

One2OneConnection[] createOne2One(int n)
Constructs and returns an array of instances of an implementation of One2OneConnection.

Parameters:
n - the number of One2OneConnection objects to construct.
Returns:
the constructed array of One2OneConnection objects.

createAny2One

Any2OneConnection[] createAny2One(int n)
Constructs and returns an array of instances of an implementation of Any2OneConnection.

Parameters:
n - the number of Any2OneConnection objects to construct.
Returns:
the constructed array of Any2OneConnection objects.

createOne2Any

One2AnyConnection[] createOne2Any(int n)
Constructs and returns an array of instances of an implementation of One2AnyConnection.

Parameters:
n - the number of One2AnyConnection objects to construct.
Returns:
the constructed array of One2AnyConnection objects.

createAny2Any

Any2AnyConnection[] createAny2Any(int n)
Constructs and returns an array of instances of an implementation of Any2AnyConnection.

Parameters:
n - the number of Any2AnyConnection objects to construct.
Returns:
the constructed array of Any2AnyConnection objects.

CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.