Class RMITest.RemoteObject

  • All Implemented Interfaces:
    Remote
    Enclosing class:
    RMITest

    protected static class RMITest.RemoteObject
    extends Object
    implements Remote
    A test remote object.
    • Constructor Detail

      • RemoteObject

        public RemoteObject​(String name)
                     throws RemoteException
        Name a remote object.
        Parameters:
        name - the name of the object
        Throws:
        RemoteException - on a remote exception
    • Method Detail

      • getName

        public String getName()
        Returns:
        the name of the object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object