当前页面:
在线文档首页 >
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
java.net.ServerSocket
org.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
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 |
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
accept
public Socket accept()
throws IOException
- Throws:
IOException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.