Package org.jcsp.net
Class StandardNetConnectionFactory
- java.lang.Object
-
- org.jcsp.net.StandardNetConnectionFactory
-
- All Implemented Interfaces:
NetConnectionFactory
public class StandardNetConnectionFactory extends java.lang.Object implements NetConnectionFactory
This is an implementation of
.NetConnectionFactory
-
-
Constructor Summary
Constructors Constructor Description StandardNetConnectionFactory()Constructor for StandardNetConnectionFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetSharedAltingConnectionClientcreateAny2Net(NetChannelLocation serverLoc)Constructs aNetSharedAltingConnectionClientobject.NetSharedConnectionServercreateNet2Any()Constructs aNetSharedConnectionServerobject.NetAltingConnectionServercreateNet2One()Constructs aNetAltingConnectionServerobject.NetAltingConnectionClientcreateOne2Net(NetChannelLocation serverLoc)Constructs aNetAltingConnectionClientobject.
-
-
-
Method Detail
-
createNet2One
public NetAltingConnectionServer createNet2One()
Description copied from interface:NetConnectionFactoryConstructs a
NetAltingConnectionServerobject.- Specified by:
createNet2Onein interfaceNetConnectionFactory- Returns:
- the constructed
NetAltingConnectionServerobject. - See Also:
NetConnectionFactory.createNet2One()
-
createNet2Any
public NetSharedConnectionServer createNet2Any()
Description copied from interface:NetConnectionFactoryConstructs a
NetSharedConnectionServerobject.- Specified by:
createNet2Anyin interfaceNetConnectionFactory- Returns:
- the constructed
NetSharedConnectionServerobject. - See Also:
NetConnectionFactory.createNet2Any()
-
createOne2Net
public NetAltingConnectionClient createOne2Net(NetChannelLocation serverLoc)
Description copied from interface:NetConnectionFactoryConstructs a
NetAltingConnectionClientobject.- Specified by:
createOne2Netin interfaceNetConnectionFactory- Returns:
- the constructed
NetAltingConnectionClientobject. - See Also:
NetConnectionFactory.createOne2Net(NetChannelLocation)
-
createAny2Net
public NetSharedAltingConnectionClient createAny2Net(NetChannelLocation serverLoc)
Description copied from interface:NetConnectionFactoryConstructs a
NetSharedAltingConnectionClientobject.- Specified by:
createAny2Netin interfaceNetConnectionFactory- Returns:
- the constructed
NetSharedAltingConnectionClientobject. - See Also:
NetConnectionFactory.createAny2Net(NetChannelLocation)
-
-