This class provides static factory methods for constructing
different types of connection. The methods are equivalent to
the non-static methods of the StandardConnectionFactory
class.
Type | Name and description |
---|---|
static Any2AnyConnection |
createAny2Any() @see org.jcsp.lang.ConnectionFactory#createAny2Any() |
static Any2AnyConnection[] |
createAny2Any(int n) @see org.jcsp.lang.ConnectionArrayFactory#createAny2Any(int) |
static Any2OneConnection |
createAny2One() @see org.jcsp.lang.ConnectionFactory#createAny2One() |
static Any2OneConnection[] |
createAny2One(int n) @see org.jcsp.lang.ConnectionArrayFactory#createAny2One(int) |
static One2AnyConnection |
createOne2Any() @see org.jcsp.lang.ConnectionFactory#createOne2Any() |
static One2AnyConnection[] |
createOne2Any(int n) @see org.jcsp.lang.ConnectionArrayFactory#createOne2Any(int) |
static One2OneConnection |
createOne2One() @see org.jcsp.lang.ConnectionFactory#createOne2One() |
static One2OneConnection[] |
createOne2One(int n) @see org.jcsp.lang.ConnectionArrayFactory#createOne2One(int) |
static AltingConnectionClient[] |
getClientArray(One2AnyConnection[] c) Returns an array of client connection ends suitable for use as guards in an Alternative
construct. |
static AltingConnectionClient[] |
getClientArray(One2OneConnection[] c) Returns an array of client connection ends suitable for use as guards in an Alternative
construct. |
static SharedConnectionClient[] |
getClientArray(Any2AnyConnection[] c) Returns an array of client connection ends suitable for use by multiple concurrent processes. |
static SharedConnectionClient[] |
getClientArray(Any2OneConnection[] c) Returns an array of client connection ends suitable for use by multiple concurrent processes. |
static AltingConnectionServer[] |
getServerArray(Any2OneConnection[] c) Returns an array of server connection ends suitable for use as guards in an Alternative
construct. |
static AltingConnectionServer[] |
getServerArray(One2OneConnection[] c) Returns an array of server connection ends suitable for use as guards in an Alternative
construct. |
static SharedConnectionServer[] |
getServerArray(Any2AnyConnection[] c) Returns an array of server connection ends suitable for use by multiple concurrent processes. |
static SharedConnectionServer[] |
getServerArray(One2AnyConnection[] c) Returns an array of server connection ends suitable for use by multiple concurrent processes. |
Returns an array of client connection ends suitable for use as guards in an Alternative
construct.
c
- the connection array to get the client ends from. Returns an array of client connection ends suitable for use as guards in an Alternative
construct.
c
- the connection array to get the client ends from.Returns an array of client connection ends suitable for use by multiple concurrent processes.
c
- the connection array to get the client ends from.Returns an array of client connection ends suitable for use by multiple concurrent processes.
c
- the connection array to get the client ends from. Returns an array of server connection ends suitable for use as guards in an Alternative
construct.
c
- the connection array to get the server ends from. Returns an array of server connection ends suitable for use as guards in an Alternative
construct.
c
- the connection array to get the server ends from.Returns an array of server connection ends suitable for use by multiple concurrent processes.
c
- the connection array to get the server ends from.Returns an array of server connection ends suitable for use by multiple concurrent processes.
c
- the connection array to get the server ends from.