org.hudsonci.utils.tasks
Interface OpenServerSocket.Acceptor

All Superinterfaces:
Closeable
Enclosing class:
OpenServerSocket

public static interface OpenServerSocket.Acceptor
extends Closeable

Used to accept a new connection on the remote server socket.


Method Summary
 OpenServerSocket.Connection accept()
           
 OpenServerSocket.Connection accept(boolean close)
           
 int getPort()
           
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

getPort

int getPort()

accept

OpenServerSocket.Connection accept(boolean close)
                                   throws IOException
Throws:
IOException

accept

OpenServerSocket.Connection accept()
                                   throws IOException
Throws:
IOException


Copyright © 2004-2011 Hudson. All Rights Reserved.