Class RMILocalSocketFactory.LocalServerSocket
- java.lang.Object
-
- java.net.ServerSocket
-
- org.apache.manifoldcf.crawler.common.DCTM.RMILocalSocketFactory.LocalServerSocket
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- RMILocalSocketFactory
protected static class RMILocalSocketFactory.LocalServerSocket extends java.net.ServerSocketThis is a localhost-bound implementation of ServerSocket
-
-
Field Summary
Fields Modifier and Type Field Description protected intcurrentPort
-
Constructor Summary
Constructors Constructor Description LocalServerSocket(int port)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(java.net.SocketAddress endpoint)Override the bind operation, to make sure we only bind to localhostvoidbind(java.net.SocketAddress endpoint, int backlog)Override the bind operation, to make sure we only bind to localhost-
Methods inherited from class java.net.ServerSocket
accept, close, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getOption, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setOption, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, supportedOptions, toString
-
-
-
-
Method Detail
-
bind
public void bind(java.net.SocketAddress endpoint) throws java.io.IOExceptionOverride the bind operation, to make sure we only bind to localhost- Overrides:
bindin classjava.net.ServerSocket- Throws:
java.io.IOException
-
bind
public void bind(java.net.SocketAddress endpoint, int backlog) throws java.io.IOExceptionOverride the bind operation, to make sure we only bind to localhost- Overrides:
bindin classjava.net.ServerSocket- Throws:
java.io.IOException
-
-