java.lang.Object
is.codion.swing.framework.server.monitor.ClientInstanceMonitor

public final class ClientInstanceMonitor extends Object
A ClientInstanceMonitor
  • Constructor Details

    • ClientInstanceMonitor

      public ClientInstanceMonitor(is.codion.framework.server.EntityServerAdmin server, is.codion.common.rmi.server.RemoteClient remoteClient) throws RemoteException
      Instantiates a new ClientInstanceMonitor, monitoring the given client
      Parameters:
      server - the server being monitored
      remoteClient - the client info
      Throws:
      RemoteException - in case of an exception
  • Method Details

    • remoteClient

      public is.codion.common.rmi.server.RemoteClient remoteClient()
      Returns:
      the RemoteClient
    • loggingEnabled

      public is.codion.common.state.State loggingEnabled()
      Returns:
      the State for controlling whether logging is enabled
    • refreshLog

      public void refreshLog() throws RemoteException
      Refreshes the log document and tree model with the most recent log from the server
      Throws:
      RemoteException - in case of an exception
    • logDocument

      public Document logDocument()
    • logTreeModel

      public DefaultTreeModel logTreeModel()
      Returns:
      the TreeModel for displaying the log in a Tree view
    • toString

      public String toString()
      Overrides:
      toString in class Object