站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

TimeoutServerSocket (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


org.jboss.net.sockets
Class TimeoutServerSocket

java.lang.Object
  extended byjava.net.ServerSocket
      extended byorg.jboss.net.sockets.TimeoutServerSocket

public class TimeoutServerSocket
extends ServerSocket

A ServerSocket that returns a TimeoutSocket from the overriden accept.

Version:
$Revision: 1.1 $
Author:
Scott.Stark@jboss.org

Constructor Summary
TimeoutServerSocket(int port)
           
TimeoutServerSocket(int port, int backlog)
           
TimeoutServerSocket(int port, int backlog, InetAddress bindAddr)
           
 
Method Summary
 Socket accept()
           
 
Methods inherited from class java.net.ServerSocket
bind, bind, close, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeoutServerSocket

public TimeoutServerSocket(int port)
                    throws IOException

TimeoutServerSocket

public TimeoutServerSocket(int port,
                           int backlog)
                    throws IOException

TimeoutServerSocket

public TimeoutServerSocket(int port,
                           int backlog,
                           InetAddress bindAddr)
                    throws IOException
Method Detail

accept

public Socket accept()
              throws IOException
Throws:
IOException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.