org.apache.catalina.net
クラス DefaultServerSocketFactory

java.lang.Object
  |
  +--org.apache.catalina.net.DefaultServerSocketFactory
すべての実装インタフェース:
ServerSocketFactory

public final class DefaultServerSocketFactory
extends java.lang.Object
implements ServerSocketFactory

Default server socket factory, which returns unadorned server sockts.

作成者:
db@eng.sun.com, Harish Prabandham, Craig R. McClanahan

コンストラクタの概要
DefaultServerSocketFactory()
           
 
メソッドの概要
 java.net.ServerSocket createSocket(int port)
          Returns a server socket which uses all network interfaces on the host, and is bound to a the specified port.
 java.net.ServerSocket createSocket(int port, int backlog)
          Returns a server socket which uses all network interfaces on the host, is bound to a the specified port, and uses the specified connection backlog.
 java.net.ServerSocket createSocket(int port, int backlog, java.net.InetAddress ifAddress)
          Returns a server socket which uses only the specified network interface on the local host, is bound to a the specified port, and uses the specified connection backlog.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DefaultServerSocketFactory

public DefaultServerSocketFactory()
メソッドの詳細

createSocket

public java.net.ServerSocket createSocket(int port)
                                   throws java.io.IOException
Returns a server socket which uses all network interfaces on the host, and is bound to a the specified port. The socket is configured with the socket options (such as accept timeout) given to this factory.
定義:
インタフェース ServerSocketFactory 内の createSocket
パラメータ:
port - the port to listen to
例外:
java.io.IOException - for networking errors

createSocket

public java.net.ServerSocket createSocket(int port,
                                          int backlog)
                                   throws java.io.IOException
Returns a server socket which uses all network interfaces on the host, is bound to a the specified port, and uses the specified connection backlog. The socket is configured with the socket options (such as accept timeout) given to this factory.
定義:
インタフェース ServerSocketFactory 内の createSocket
パラメータ:
port - the port to listen to
backlog - how many connections are queued
例外:
java.io.IOException - for networking errors

createSocket

public java.net.ServerSocket createSocket(int port,
                                          int backlog,
                                          java.net.InetAddress ifAddress)
                                   throws java.io.IOException
Returns a server socket which uses only the specified network interface on the local host, is bound to a the specified port, and uses the specified connection backlog. The socket is configured with the socket options (such as accept timeout) given to this factory.
定義:
インタフェース ServerSocketFactory 内の createSocket
パラメータ:
port - the port to listen to
backlog - how many connections are queued
ifAddress - the network interface address to use
例外:
java.io.IOException - for networking errors


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.