CSP for Java
(JCSP) 1.1-rc4

org.jcsp.net
Class NetConnection

java.lang.Object
  extended by org.jcsp.net.NetConnection

public class NetConnection
extends Object

This class provides static methods for constructing NetConnectionServer and NetConnectionClient objects.

The methods provided are equivalent to the methods defined in NetConnectionFactory.

Author:
Quickstone Technologies Limited

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

Constructor Detail

NetConnection

public NetConnection()
Method Detail

createNet2One

public static org.jcsp.net.NetAltingConnectionServer createNet2One()
See Also:
NetConnectionFactory.createNet2One()

createNet2Any

public static NetSharedConnectionServer createNet2Any()
See Also:
NetConnectionFactory.createNet2Any()

createOne2Net

public static NetAltingConnectionClient createOne2Net(NetChannelLocation serverLoc)
See Also:
NetConnectionFactory.createOne2Net(NetChannelLocation)

createAny2Net

public static NetSharedAltingConnectionClient createAny2Net(NetChannelLocation serverLoc)
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.