|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asterisk.io.impl.ServerSocketFacadeImpl
public class ServerSocketFacadeImpl
Default implementation of the ServerSocketFacade interface using standard java.io classes (ServerSocket in this case).
Constructor Summary | |
---|---|
ServerSocketFacadeImpl(int port,
int backlog,
java.net.InetAddress bindAddress)
|
Method Summary | |
---|---|
SocketConnectionFacade |
accept()
Waits for a new incoming connection. |
void |
close()
Unbinds and closes the server socket. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerSocketFacadeImpl(int port, int backlog, java.net.InetAddress bindAddress) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public SocketConnectionFacade accept() throws java.io.IOException
ServerSocketFacade
accept
in interface ServerSocketFacade
java.io.IOException
public void close() throws java.io.IOException
ServerSocketFacade
close
in interface ServerSocketFacade
java.io.IOException
- if the server socket cannot be closed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |