Class RMILocalClientSocketFactory
- java.lang.Object
-
- org.apache.manifoldcf.crawler.common.DCTM.RMILocalClientSocketFactory
-
- All Implemented Interfaces:
java.io.Serializable,java.rmi.server.RMIClientSocketFactory
public class RMILocalClientSocketFactory extends java.lang.Object implements java.rmi.server.RMIClientSocketFactory, java.io.SerializableThis factory mints client-side sockets. I've created one so the $%^&* rmi world doesn't attempt to connect to anything other than localhost (127.0.0.1).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsid
-
Constructor Summary
Constructors Constructor Description RMILocalClientSocketFactory()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.SocketcreateSocket(java.lang.String host, int port)The method that mints a socket of the right kind.booleanequals(java.lang.Object o)The contract makes us implement equals and hashcodeinthashCode()Hashcode consistent with equals()
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
createSocket
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOExceptionThe method that mints a socket of the right kind.- Specified by:
createSocketin interfacejava.rmi.server.RMIClientSocketFactory- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
The contract makes us implement equals and hashcode- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Hashcode consistent with equals()- Overrides:
hashCodein classjava.lang.Object
-
-