Interface AlertMonitorI

All Superinterfaces:
Remote, Serializable
All Known Implementing Classes:
AlertMonitorBase

public interface AlertMonitorI extends Remote, Serializable
Handler class used to take some action when a printer alert is received.
  • Method Details

    • receivedAlert

      void receivedAlert(PrinterAlert receivedAlert) throws RemoteException
      Called when a printer alert is received.
      Parameters:
      receivedAlert - PrinterAlert that was received.
      Throws:
      RemoteException - if there is an RMI exception.
    • receivedAlert

      void receivedAlert(PrinterAlert receivedAlert, String sgdData) throws RemoteException
      Called when a printer alert is received.
      Parameters:
      receivedAlert - PrinterAlert that was received.
      sgdData - data from the alert.
      Throws:
      RemoteException - if there is an RMI exception.
    • removeAlertHandler

      void removeAlertHandler() throws RemoteException
      Removes the alert handler from the runtime.
      Throws:
      RemoteException - if there is an RMI exceptions