Class RMITest.RemoteObject

java.lang.Object
org.djutils.rmi.RMITest.RemoteObject
All Implemented Interfaces:
Remote
Enclosing class:
RMITest

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

    • 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 Details

    • getName

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object