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. 


Variable Index

 o hosts

Constructor Index

 o ss98Server()
This allows the rmi code to load an instance of the server

Method Index

 o addHost()
 o getHost(ss98Host)
 o getOID(String)
 o main(String[])
The server must be started by hand on the server hardware.
 o putHost(ss98Host)
 o removeHost(ss98Host)

Variables

 o hosts
 Vector hosts

Constructors

 o ss98Server
 public ss98Server() throws RemoteException
This allows the rmi code to load an instance of the server

Methods

 o 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

 o getOID
 public String getOID(String oid) throws RemoteException
 o addHost
 public ss98Host addHost() throws RemoteException
 o getHost
 public ss98Host getHost(ss98Host host) throws RemoteException
 o removeHost
 public void removeHost(ss98Host host)
 o putHost
 public void putHost(ss98Host host) throws RemoteException

All Packages  Class Hierarchy  This Package  Previous  Next  Index