CSP for Java
(JCSP) 1.1-rc4

org.jcsp.net
Class StandardNetConnectionFactory

java.lang.Object
  extended by org.jcsp.net.StandardNetConnectionFactory
All Implemented Interfaces:
NetConnectionFactory

public class StandardNetConnectionFactory
extends Object
implements NetConnectionFactory

This is an implementation of NetConnectionFactory.

Author:
Quickstone Technologies Limited

Constructor Summary
StandardNetConnectionFactory()
          Constructor for StandardNetConnectionFactory.
 
Method Summary
 NetSharedAltingConnectionClient createAny2Net(NetChannelLocation serverLoc)
           Constructs a NetSharedAltingConnectionClient object.
 NetSharedConnectionServer createNet2Any()
           Constructs a NetSharedConnectionServer object.
 org.jcsp.net.NetAltingConnectionServer createNet2One()
           Constructs a NetAltingConnectionServer object.
 NetAltingConnectionClient createOne2Net(NetChannelLocation serverLoc)
           Constructs a NetAltingConnectionClient object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardNetConnectionFactory

public StandardNetConnectionFactory()
Constructor for StandardNetConnectionFactory.

Method Detail

createNet2One

public org.jcsp.net.NetAltingConnectionServer createNet2One()
Description copied from interface: NetConnectionFactory

Constructs a NetAltingConnectionServer object.

Specified by:
createNet2One in interface NetConnectionFactory
Returns:
the constructed NetAltingConnectionServer object.
See Also:
NetConnectionFactory.createNet2One()

createNet2Any

public NetSharedConnectionServer createNet2Any()
Description copied from interface: NetConnectionFactory

Constructs a NetSharedConnectionServer object.

Specified by:
createNet2Any in interface NetConnectionFactory
Returns:
the constructed NetSharedConnectionServer object.
See Also:
NetConnectionFactory.createNet2Any()

createOne2Net

public NetAltingConnectionClient createOne2Net(NetChannelLocation serverLoc)
Description copied from interface: NetConnectionFactory

Constructs a NetAltingConnectionClient object.

Specified by:
createOne2Net in interface NetConnectionFactory
Returns:
the constructed NetAltingConnectionClient object.
See Also:
NetConnectionFactory.createOne2Net(NetChannelLocation)

createAny2Net

public NetSharedAltingConnectionClient createAny2Net(NetChannelLocation serverLoc)
Description copied from interface: NetConnectionFactory

Constructs a NetSharedAltingConnectionClient object.

Specified by:
createAny2Net in interface NetConnectionFactory
Returns:
the constructed NetSharedAltingConnectionClient object.
See Also:
NetConnectionFactory.createAny2Net(NetChannelLocation)

CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.