Class 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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _rcsid  
      protected static java.net.InetAddress loopbackAddress  
    • 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 hashcode
      int hashCode()
      Hashcode consistent with equals()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • loopbackAddress

        protected static java.net.InetAddress loopbackAddress
    • Constructor Detail

      • RMILocalSocketFactory

        public RMILocalSocketFactory()
    • 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 interface java.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 class java.lang.Object
      • hashCode

        public int hashCode()
        Hashcode consistent with equals()
        Overrides:
        hashCode in class java.lang.Object