Class StandardNetConnectionFactory
java.lang.Object
org.jcsp.net.StandardNetConnectionFactory
- All Implemented Interfaces:
NetConnectionFactory
This is an implementation of .
NetConnectionFactory
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for StandardNetConnectionFactory. -
Method Summary
Modifier and TypeMethodDescriptioncreateAny2Net(NetChannelLocation serverLoc) Constructs aNetSharedAltingConnectionClientobject.Constructs aNetSharedConnectionServerobject.Constructs aNetAltingConnectionServerobject.createOne2Net(NetChannelLocation serverLoc) Constructs aNetAltingConnectionClientobject.
-
Constructor Details
-
StandardNetConnectionFactory
public StandardNetConnectionFactory()Constructor for StandardNetConnectionFactory.
-
-
Method Details
-
createNet2One
Description copied from interface:NetConnectionFactoryConstructs a
NetAltingConnectionServerobject.- Specified by:
createNet2Onein interfaceNetConnectionFactory- Returns:
- the constructed
NetAltingConnectionServerobject. - See Also:
-
createNet2Any
Description copied from interface:NetConnectionFactoryConstructs a
NetSharedConnectionServerobject.- Specified by:
createNet2Anyin interfaceNetConnectionFactory- Returns:
- the constructed
NetSharedConnectionServerobject. - See Also:
-
createOne2Net
Description copied from interface:NetConnectionFactoryConstructs a
NetAltingConnectionClientobject.- Specified by:
createOne2Netin interfaceNetConnectionFactory- Returns:
- the constructed
NetAltingConnectionClientobject. - See Also:
-
createAny2Net
Description copied from interface:NetConnectionFactoryConstructs a
NetSharedAltingConnectionClientobject.- Specified by:
createAny2Netin interfaceNetConnectionFactory- Returns:
- the constructed
NetSharedAltingConnectionClientobject. - See Also:
-