com.caucho.vfs
Class QJniServerSocket

java.lang.Object
  extended by com.caucho.vfs.QJniServerSocket

public class QJniServerSocket
extends java.lang.Object

Abstract socket to handle both normal sockets and bin/resin sockets.


Method Summary
static QServerSocket create(java.net.InetAddress host, int port, int listenBacklog)
           
static QServerSocket create(java.net.InetAddress host, int port, int listenBacklog, boolean isEnableJni)
          Creates the SSL ServerSocket.
static QServerSocket create(int port, int listenBacklog)
          Creates the SSL ServerSocket.
static QServerSocket createJNI(java.net.InetAddress host, int port)
          Creates the SSL ServerSocket.
static QServerSocket openJNI(int fd, int port)
          Creates the SSL ServerSocket.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static QServerSocket create(int port,
                                   int listenBacklog)
                            throws java.io.IOException
Creates the SSL ServerSocket.

Throws:
java.io.IOException

create

public static QServerSocket create(java.net.InetAddress host,
                                   int port,
                                   int listenBacklog)
                            throws java.io.IOException
Throws:
java.io.IOException

create

public static QServerSocket create(java.net.InetAddress host,
                                   int port,
                                   int listenBacklog,
                                   boolean isEnableJni)
                            throws java.io.IOException
Creates the SSL ServerSocket.

Throws:
java.io.IOException

createJNI

public static QServerSocket createJNI(java.net.InetAddress host,
                                      int port)
                               throws java.io.IOException
Creates the SSL ServerSocket.

Throws:
java.io.IOException

openJNI

public static QServerSocket openJNI(int fd,
                                    int port)
                             throws java.io.IOException
Creates the SSL ServerSocket.

Throws:
java.io.IOException