//     $Id: DemonRMIIface.java,v 3.1 1998/12/09 04:22:13 mk2z Exp $    
 ////////////////////////////////////////////////////////////////////////////
 //
 // File: DemonRMIIface.java
 //
 // Purpose: This file defines the interface that DemonRMI will
 //         offer to the ServerRMI, so that the ServerRMI knows how to 
 //        invoke methods on the Demon.
 //
 // Authors:
 //  Orim   Miro Kresonja  mk2z@virginia.edu
 //
 // Modifications:
 //   15-NOV-1998  Orim  Initial modifications for version 3.0
 //   17-NOV-1998  Orim  Final Exception Fix
 //
 ////////////////////////////////////////////////////////////////////////////
 import java.rmi.*;
 public interface DemonRMIIface
     extends java.rmi.Remote
 {
   ///////////////////////////////////////////////////////////////////
   //
   // ReceiveClientConnectStatus - Called by the Server when the DemonRMI 
   // initializes and every time the client registers (after DemonRMI has 
   // registered also.
   //   
   ///////////////////////////////////////////////////////////////////
   public void ReceiveClientConnectStatus (ClientConnectStatus status)
   throws RemoteException, Exception;
   ///////////////////////////////////////////////////////////////////
   //
   // ReceiveStats - Server hands a Stats object to Demon.
   //
   ///////////////////////////////////////////////////////////////////
   public void ReceiveStats (Stats my_stats)
   throws RemoteException, Exception;
   ///////////////////////////////////////////////////////////////////
   //
   // ReceiveState - Server tells Demon what state the entire sim.
   // is in.
   //
   ///////////////////////////////////////////////////////////////////
   public void ReceiveState (int state)
   throws RemoteException, Exception;
   ///////////////////////////////////////////////////////////////////
   //
   // ReceiveMap - Server hands the entire map to Demon
   //   
   ///////////////////////////////////////////////////////////////////
   public void ReceiveMap (Map my_map)
   throws RemoteException, Exception;
 }
 ////////////////////////////////////////////////////////////////////////////