Choice: third alternative.

class Space implements Serializable {
  InetAddress iaddr; // IP number of the processor
  int port;          // socket port for opening connections

  ... methods hashCode and equals for using ...
  ... spaces as keys in hash tables ...

  ... toString for printing spaces ...
}
A space identifies a Java process allocating or referencing network objects.


- 3 -