nathan.middleware
Class ObjectID

java.lang.Object
  extended by nathan.middleware.ObjectID

public class ObjectID
extends java.lang.Object

ObjectID is used to create unique IDs for the object that are bound in the registry.

Author:
Nathan Balon
Advance Operating Systems CIS 578
University of Michigan Dearborn
Remote Method Invocation Middleware Project

Method Summary
 int getNextID()
          Get the next id number.
static ObjectID objectIDFactory()
          Create a new ObjectID instance which is used by the registry to number remote object references.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNextID

public int getNextID()
Get the next id number.

Returns:
int The next availiable id.

objectIDFactory

public static ObjectID objectIDFactory()
Create a new ObjectID instance which is used by the registry to number remote object references.

Returns:
ObjectID An ObjectID object.