All Packages Class Hierarchy This Package Previous Next Index
Class telephony.manager.ManagementServer
java.lang.Object
|
+----java.rmi.server.RemoteObject
|
+----java.rmi.server.RemoteServer
|
+----java.rmi.server.UnicastRemoteObject
|
+----telephony.manager.ManagementServer
- public class ManagementServer
- extends UnicastRemoteObject
- implements ManagementServerInterface, Runnable
This class is typically invoked by the wrapper class, RunServer.
It generates an RMI server, and provides the GUI for the
system manager.
The ManagementServer keeps track of the state of the system
by receiving solicited or unsolicited logs from ManagementClient
objects, which in turn are invoked by system components.
The system manager can use the ManagementServer to control
ManagementClient objects. The clients are controlled by
RMI calls they provide.
- Author:
- David L. Roxe
- See Also:
- RunServer
-
ManagementServer(String, StateManager, TextArea, UserInterface)
- This is the only constructor for a ManagementServer.
-
run()
-
-
submitManagementClientLog(ManagementClientLog)
- This is a publicly available method which is
used by ManagementClients via RMI.
ManagementServer
public ManagementServer(String name,
StateManager s,
TextArea d,
UserInterface u) throws RemoteException
- This is the only constructor for a ManagementServer.
It creates a new ManagementServer and binds it to the
(already running) rmiregistry on the local host.
- Parameters:
- name - This the name the ManagementServer uses
to identify itself to the rmiregistry. For now,
the name is obtained from RunServer, and must agree
with the hard-coded name in ManagementClient.java, should
should probably someday check an environment variable instead.
run
public void run()
submitManagementClientLog
public int submitManagementClientLog(ManagementClientLog LogUpdate) throws RemoteException
- This is a publicly available method which is
used by ManagementClients via RMI. They use
it to submit ManagementClientLogs.
- Parameters:
- ManagementClientLog - a ManagementClientLog
- Returns:
- The
int
returned is 0 if the method
succeeded.
All Packages Class Hierarchy This Package Previous Next Index