public class StandardConnectionFactory extends java.lang.Object implements ConnectionFactory, ConnectionArrayFactory
Implements a factory for creating connections.
Constructor and Description |
---|
StandardConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
Any2AnyConnection |
createAny2Any()
Constructs and returns an implementation of
Any2AnyConnection . |
Any2AnyConnection[] |
createAny2Any(int n)
Constructs and returns an array of instances of an implementation of
Any2AnyConnection . |
Any2OneConnection |
createAny2One()
Constructs and returns an implementation of
Any2OneConnection . |
Any2OneConnection[] |
createAny2One(int n)
Constructs and returns an array of instances of an implementation of
Any2OneConnection . |
One2AnyConnection |
createOne2Any()
Constructs and returns an implementation of
One2AnyConnection . |
One2AnyConnection[] |
createOne2Any(int n)
Constructs and returns an array of instances of an implementation of
One2AnyConnection . |
One2OneConnection |
createOne2One()
Constructs and returns an implementation of
One2OneConnection . |
One2OneConnection[] |
createOne2One(int n)
Constructs and returns an array of instances of an implementation of
One2OneConnection . |
public One2OneConnection createOne2One()
ConnectionFactory
One2OneConnection
.createOne2One
in interface ConnectionFactory
One2OneConnection
object.ConnectionFactory.createOne2One()
public Any2OneConnection createAny2One()
ConnectionFactory
Any2OneConnection
.createAny2One
in interface ConnectionFactory
Any2OneConnection
object.ConnectionFactory.createAny2One()
public One2AnyConnection createOne2Any()
ConnectionFactory
One2AnyConnection
.createOne2Any
in interface ConnectionFactory
One2AnyConnection
object.ConnectionFactory.createOne2Any()
public Any2AnyConnection createAny2Any()
ConnectionFactory
Any2AnyConnection
.createAny2Any
in interface ConnectionFactory
Any2AnyConnection
object.ConnectionFactory.createAny2Any()
public One2OneConnection[] createOne2One(int n)
ConnectionArrayFactory
One2OneConnection
.createOne2One
in interface ConnectionArrayFactory
n
- the number of One2OneConnection
objects
to construct.One2OneConnection
objects.ConnectionArrayFactory.createOne2One(int)
public Any2OneConnection[] createAny2One(int n)
ConnectionArrayFactory
Any2OneConnection
.createAny2One
in interface ConnectionArrayFactory
n
- the number of Any2OneConnection
objects
to construct.Any2OneConnection
objects.ConnectionArrayFactory.createAny2One(int)
public One2AnyConnection[] createOne2Any(int n)
ConnectionArrayFactory
One2AnyConnection
.createOne2Any
in interface ConnectionArrayFactory
n
- the number of One2AnyConnection
objects
to construct.One2AnyConnection
objects.ConnectionArrayFactory.createOne2Any(int)
public Any2AnyConnection[] createAny2Any(int n)
ConnectionArrayFactory
Any2AnyConnection
.createAny2Any
in interface ConnectionArrayFactory
n
- the number of Any2AnyConnection
objects
to construct.Any2AnyConnection
objects.ConnectionArrayFactory.createAny2Any(int)
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.