com.caucho.vfs.net
Class NetworkSystem
java.lang.Object
com.caucho.vfs.net.NetworkSystem
- Direct Known Subclasses:
- TcpNetworkSystem
public abstract class NetworkSystem
- extends java.lang.Object
Abstract network system.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NetworkSystem
public NetworkSystem()
setLocal
public static void setLocal(NetworkSystem value)
getCurrent
public static NetworkSystem getCurrent()
createSubSystem
public static NetworkSystem createSubSystem(java.lang.String name)
createSubSystemImpl
protected NetworkSystem createSubSystemImpl(java.lang.String name)
openServerSocket
public QServerSocket openServerSocket(java.lang.String address,
int port)
throws java.io.IOException
- Throws:
java.io.IOException
openServerSocket
public abstract QServerSocket openServerSocket(java.net.InetAddress address,
int port,
int backlog,
boolean isJni)
throws java.io.IOException
- Throws:
java.io.IOException
connect
public QSocket connect(java.lang.String address,
int port)
throws java.io.IOException
- Throws:
java.io.IOException
connect
public final QSocket connect(java.net.InetAddress address,
int port,
long timeout)
throws java.io.IOException
- Throws:
java.io.IOException
connect
public abstract QSocket connect(java.net.InetSocketAddress address,
long timeout)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object