org.jcsp.net
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
Constructor and Description |
---|
NetConnection() |
Modifier and Type | Method and Description |
---|---|
static NetSharedAltingConnectionClient |
createAny2Net(NetChannelLocation serverLoc) |
static NetSharedConnectionServer |
createNet2Any() |
static org.jcsp.net.NetAltingConnectionServer |
createNet2One() |
static NetAltingConnectionClient |
createOne2Net(NetChannelLocation serverLoc) |
public static org.jcsp.net.NetAltingConnectionServer createNet2One()
NetConnectionFactory.createNet2One()
public static NetSharedConnectionServer createNet2Any()
NetConnectionFactory.createNet2Any()
public static NetAltingConnectionClient createOne2Net(NetChannelLocation serverLoc)
public static NetSharedAltingConnectionClient createAny2Net(NetChannelLocation serverLoc)
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.