public abstract class NetworkSystem
extends java.lang.Object
Constructor and Description |
---|
NetworkSystem() |
Modifier and Type | Method and Description |
---|---|
QSocket |
connect(java.net.InetAddress address,
int port,
long timeout) |
abstract QSocket |
connect(java.net.InetSocketAddress address,
long timeout) |
QSocket |
connect(java.lang.String address,
int port) |
static NetworkSystem |
createSubSystem(java.lang.String name) |
protected NetworkSystem |
createSubSystemImpl(java.lang.String name) |
static NetworkSystem |
getCurrent() |
abstract QServerSocket |
openServerSocket(java.net.InetAddress address,
int port,
int backlog,
boolean isJni) |
QServerSocket |
openServerSocket(java.lang.String address,
int port) |
static void |
setLocal(NetworkSystem value) |
java.lang.String |
toString() |
public static void setLocal(NetworkSystem value)
public static NetworkSystem getCurrent()
public static NetworkSystem createSubSystem(java.lang.String name)
protected NetworkSystem createSubSystemImpl(java.lang.String name)
public QServerSocket openServerSocket(java.lang.String address, int port) throws java.io.IOException
java.io.IOException
public abstract QServerSocket openServerSocket(java.net.InetAddress address, int port, int backlog, boolean isJni) throws java.io.IOException
java.io.IOException
public QSocket connect(java.lang.String address, int port) throws java.io.IOException
java.io.IOException
public final QSocket connect(java.net.InetAddress address, int port, long timeout) throws java.io.IOException
java.io.IOException
public abstract QSocket connect(java.net.InetSocketAddress address, long timeout) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object