protected static class RMILocalSocketFactory.LocalServerSocket
extends java.net.ServerSocket
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentPort |
| Constructor and Description |
|---|
LocalServerSocket(int port)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(java.net.SocketAddress endpoint)
Override the bind operation, to make sure we only bind to localhost
|
void |
bind(java.net.SocketAddress endpoint,
int backlog)
Override the bind operation, to make sure we only bind to localhost
|
accept, close, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toStringpublic LocalServerSocket(int port)
throws java.io.IOException
java.io.IOExceptionpublic void bind(java.net.SocketAddress endpoint)
throws java.io.IOException
bind in class java.net.ServerSocketjava.io.IOExceptionpublic void bind(java.net.SocketAddress endpoint,
int backlog)
throws java.io.IOException
bind in class java.net.ServerSocketjava.io.IOException