|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnathan.middleware.Server
public class Server
ServerApplication starts the remote object so the client can call the
remote methods on the object.
To start the server: Server requires the arguments [Object Name]
[Registry IP] [Registry Port] [Server Port].
Object name is the name to be used for the remote object.
Registry Ip is the ip address of the registry the server will use to bind the object.
Registry port is the port number that registry is listening on.
Server port is the port number which the server will listen on.
Constructor Summary | |
---|---|
Server()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
main entry point to the server application |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Server()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- the command line arguments.
Server requires the arguments [Object Name] [Registry IP] [Registry Port] [Server Port].
Object name is the name to be used for the remote object.
Registry Ip is the ip address of the registry the server will use to bind the object.
Registry port is the port number that registry is listening on.
Server port is the port number which the server will listen on.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |