Class RMILocalSocketFactory
- java.lang.Object
-
- org.apache.manifoldcf.crawler.common.DCTM.RMILocalSocketFactory
-
- All Implemented Interfaces:
java.rmi.server.RMIServerSocketFactory
public class RMILocalSocketFactory extends java.lang.Object implements java.rmi.server.RMIServerSocketFactory
This class is the main server class, which gets run to start the rmi service that talks to Documentum.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
RMILocalSocketFactory.LocalServerSocket
This is a localhost-bound implementation of ServerSocket
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
protected static java.net.InetAddress
loopbackAddress
-
Constructor Summary
Constructors Constructor Description RMILocalSocketFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.ServerSocket
createServerSocket(int port)
Create a socket attached to the specified port.boolean
equals(java.lang.Object o)
The contract makes us implement equals and hashcodeint
hashCode()
Hashcode consistent with equals()
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
loopbackAddress
protected static java.net.InetAddress loopbackAddress
-
-
Method Detail
-
createServerSocket
public java.net.ServerSocket createServerSocket(int port) throws java.io.IOException
Create a socket attached to the specified port. 0 means an anonymous port.- Specified by:
createServerSocket
in interfacejava.rmi.server.RMIServerSocketFactory
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
The contract makes us implement equals and hashcode- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Hashcode consistent with equals()- Overrides:
hashCode
in classjava.lang.Object
-
-