org.hudsonci.utils.tasks
Class OpenServerSocket
java.lang.Object
org.hudsonci.utils.tasks.OpenServerSocket
- All Implemented Interfaces:
- Callable<OpenServerSocket.Acceptor,IOException>, Serializable
public class OpenServerSocket
- extends Object
- implements Callable<OpenServerSocket.Acceptor,IOException>
Opens a server socket on a node and facilitates accepting connections.
- Since:
- 2.1.0
- Author:
- Jason Dillon
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SO_TIMEOUT
public static final int DEFAULT_SO_TIMEOUT
- See Also:
- Constant Field Values
OpenServerSocket
public OpenServerSocket()
call
public OpenServerSocket.Acceptor call()
throws IOException
- Specified by:
call in interface Callable<OpenServerSocket.Acceptor,IOException>
- Throws:
IOException
customize
protected void customize(ServerSocket serverSocket)
throws SocketException
- Throws:
SocketException
Copyright © 2004-2011 Hudson. All Rights Reserved.