|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnathan.middleware.Registry
public class Registry
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.
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 |
---|
public Registry()
Method Detail |
---|
public void runRegistry(int portNumber)
portNumber
- The port number the Registry will run on.public static void main(java.lang.String[] args)
args
- The commnad line arguments. The port number is required.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |