protected static class RMILocalSocketFactory.LocalServerSocket extends ServerSocket
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentPort |
| Constructor and Description |
|---|
RMILocalSocketFactory.LocalServerSocket(int port)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(SocketAddress endpoint)
Override the bind operation, to make sure we only bind to localhost
|
void |
bind(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 RMILocalSocketFactory.LocalServerSocket(int port)
throws IOException
IOExceptionpublic void bind(SocketAddress endpoint) throws IOException
bind in class ServerSocketIOExceptionpublic void bind(SocketAddress endpoint, int backlog) throws IOException
bind in class ServerSocketIOException