public class Connection
extends java.lang.Object
StandardConnectionFactory
class.Modifier and Type | Field and Description |
---|---|
private static StandardConnectionFactory |
factory |
Modifier | Constructor and Description |
---|---|
private |
Connection()
Constructor for Connection.
|
Modifier and Type | Method and Description |
---|---|
static Any2OneConnection[] |
any2oneArray(int n) |
static Any2AnyConnection |
createAny2Any() |
static Any2AnyConnection[] |
createAny2Any(int n) |
static Any2OneConnection |
createAny2One() |
static One2AnyConnection |
createOne2Any() |
static One2AnyConnection[] |
createOne2Any(int n) |
static One2OneConnection |
createOne2One() |
static One2OneConnection[] |
createOne2One(int n) |
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 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 SharedConnectionServer[] |
getServerArray(Any2AnyConnection[] c)
Returns an array of server 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 SharedConnectionServer[] |
getServerArray(One2AnyConnection[] c)
Returns an array of server connection ends suitable for use by multiple concurrent
processes.
|
static AltingConnectionServer[] |
getServerArray(One2OneConnection[] c)
Returns an array of server connection ends suitable for use as guards in an
Alternative
construct. |
private static StandardConnectionFactory factory
public static One2OneConnection createOne2One()
ConnectionFactory.createOne2One()
public static Any2OneConnection createAny2One()
ConnectionFactory.createAny2One()
public static One2AnyConnection createOne2Any()
ConnectionFactory.createOne2Any()
public static Any2AnyConnection createAny2Any()
ConnectionFactory.createAny2Any()
public static One2OneConnection[] createOne2One(int n)
public static Any2OneConnection[] any2oneArray(int n)
public static One2AnyConnection[] createOne2Any(int n)
public static Any2AnyConnection[] createAny2Any(int n)
public static AltingConnectionClient[] getClientArray(One2AnyConnection[] c)
Alternative
construct.c
- the connection array to get the client ends from.public static AltingConnectionClient[] getClientArray(One2OneConnection[] c)
Alternative
construct.c
- the connection array to get the client ends from.public static SharedConnectionClient[] getClientArray(Any2AnyConnection[] c)
c
- the connection array to get the client ends from.public static SharedConnectionClient[] getClientArray(Any2OneConnection[] c)
c
- the connection array to get the client ends from.public static AltingConnectionServer[] getServerArray(Any2OneConnection[] c)
Alternative
construct.c
- the connection array to get the server ends from.public static AltingConnectionServer[] getServerArray(One2OneConnection[] c)
Alternative
construct.c
- the connection array to get the server ends from.public static SharedConnectionServer[] getServerArray(Any2AnyConnection[] c)
c
- the connection array to get the server ends from.public static SharedConnectionServer[] getServerArray(One2AnyConnection[] c)
c
- the connection array to get the server ends from.