All Packages Class Hierarchy This Package Previous Next Index
Class ss98.rmi.ss98Server
java.lang.Object
|
+----java.rmi.server.RemoteObject
|
+----java.rmi.server.RemoteServer
|
+----java.rmi.server.UnicastRemoteObject
|
+----ss98.rmi.ss98Server
- public class ss98Server
- extends UnicastRemoteObject
- implements ss98Interface
Version $Id: ss98Server.java,v 1.3 1999/05/06 01:05:35 jeremiah Exp $
$Log: ss98Server.java,v $
Revision 1.3 1999/05/06 01:05:35 jeremiah
Added removeHost()
This is the main enterence point for the server side code.
Everything that a client can ask the server to do must be in here.
-
hosts
-
-
ss98Server()
- This allows the rmi code to load an instance of the server
-
addHost()
-
-
getHost(ss98Host)
-
-
getOID(String)
-
-
main(String[])
- The server must be started by hand on the server hardware.
-
putHost(ss98Host)
-
-
removeHost(ss98Host)
-
hosts
Vector hosts
ss98Server
public ss98Server() throws RemoteException
- This allows the rmi code to load an instance of the server
main
public static void main(String argv[])
- The server must be started by hand on the server hardware.
The main() allows us to do that.It takes a string as an argument
The string is the name to register the server as. The default is
ss98Server
getOID
public String getOID(String oid) throws RemoteException
addHost
public ss98Host addHost() throws RemoteException
getHost
public ss98Host getHost(ss98Host host) throws RemoteException
removeHost
public void removeHost(ss98Host host)
putHost
public void putHost(ss98Host host) throws RemoteException
All Packages Class Hierarchy This Package Previous Next Index