Interface ConnectionHandlerI

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

public interface ConnectionHandlerI extends Remote, Serializable
Handler class used to notify of connection status
  • Method Details

    • connectionEstablished

      void connectionEstablished(DiscoveredPrinter printer) throws RemoteException
      Called when a printer establishes a connection.
      Parameters:
      printer - printer which just established a connection.
      Throws:
      RemoteException - if there is an RMI exception.
    • connectionRemoved

      void connectionRemoved(DiscoveredPrinter printer) throws RemoteException
      Called when a printer goes offline.
      Parameters:
      printer - printer which just went offline.
      Throws:
      RemoteException - if there is an RMI exception.
    • removeConnectionHandler

      void removeConnectionHandler() throws RemoteException
      Removes the Connection handler from the runtime.
      Throws:
      RemoteException - if there is an RMI exception