Package org.jcsp.lang
Interface ConnectionFactory
-
- All Known Implementing Classes:
StandardConnectionFactory
public interface ConnectionFactoryDefines an interface for a factory than can create connections.
- Author:
- Quickstone Technologies Limited
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Any2AnyConnection<T>createAny2Any()Constructs and returns an implementation ofAny2AnyConnection.<T> Any2OneConnection<T>createAny2One()Constructs and returns an implementation ofAny2OneConnection.<T> One2AnyConnection<T>createOne2Any()Constructs and returns an implementation ofOne2AnyConnection.<T> One2OneConnection<T>createOne2One()Constructs and returns an implementation ofOne2OneConnection.
-
-
-
Method Detail
-
createOne2One
<T> One2OneConnection<T> createOne2One()
Constructs and returns an implementation ofOne2OneConnection.- Returns:
- the constructed
One2OneConnectionobject.
-
createAny2One
<T> Any2OneConnection<T> createAny2One()
Constructs and returns an implementation ofAny2OneConnection.- Returns:
- the constructed
Any2OneConnectionobject.
-
createOne2Any
<T> One2AnyConnection<T> createOne2Any()
Constructs and returns an implementation ofOne2AnyConnection.- Returns:
- the constructed
One2AnyConnectionobject.
-
createAny2Any
<T> Any2AnyConnection<T> createAny2Any()
Constructs and returns an implementation ofAny2AnyConnection.- Returns:
- the constructed
Any2AnyConnectionobject.
-
-