nathan.middleware
Class Registry

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

public class Registry
extends java.lang.Object

Registry is used to bind a remote object and allow clients to lookup objects to use the service provided by those objects.
To run the registry: Registry [Port Number]

Port number is the port number that the Registry will listen to.

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

Constructor Summary
Registry()
          Creates a new instance of the Registry.
 
Method Summary
static void main(java.lang.String[] args)
          The main entry point to the Registry application.
 void runRegistry(int portNumber)
          runregistry start the registry so it can receive messages.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Registry

public Registry()
Creates a new instance of the Registry.

Method Detail

runRegistry

public void runRegistry(int portNumber)
runregistry start the registry so it can receive messages. The Registry creates new threads to handle communication.

Parameters:
portNumber - The port number the Registry will run on.

main

public static void main(java.lang.String[] args)
The main entry point to the Registry application.

Parameters:
args - The commnad line arguments. The port number is required.