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.2.2 $
- 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, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toString |
TimeoutServerSocket
public TimeoutServerSocket(int port)
throws IOException
- Throws:
IOException
TimeoutServerSocket
public TimeoutServerSocket(int port,
int backlog)
throws IOException
- Throws:
IOException
TimeoutServerSocket
public TimeoutServerSocket(int port,
int backlog,
InetAddress bindAddr)
throws IOException
- Throws:
IOException
accept
public Socket accept()
throws IOException
- Overrides:
accept
in class ServerSocket
- Throws:
IOException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.