Class ClientInstanceMonitor
java.lang.Object
is.codion.swing.framework.server.monitor.ClientInstanceMonitor
A ClientInstanceMonitor
-
Constructor Summary
ConstructorsConstructorDescriptionClientInstanceMonitor(is.codion.framework.server.EntityServerAdmin server, is.codion.common.rmi.server.RemoteClient remoteClient) Instantiates a newClientInstanceMonitor, monitoring the given client -
Method Summary
Modifier and TypeMethodDescriptionis.codion.common.state.StatevoidRefreshes the log document and tree model with the most recent log from the serveris.codion.common.rmi.server.RemoteClienttoString()
-
Constructor Details
-
ClientInstanceMonitor
public ClientInstanceMonitor(is.codion.framework.server.EntityServerAdmin server, is.codion.common.rmi.server.RemoteClient remoteClient) throws RemoteException Instantiates a newClientInstanceMonitor, monitoring the given client- Parameters:
server- the server being monitoredremoteClient- 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
Statefor controlling whether logging is enabled
-
refreshLog
Refreshes the log document and tree model with the most recent log from the server- Throws:
RemoteException- in case of an exception
-
logDocument
-
logTreeModel
- Returns:
- the TreeModel for displaying the log in a Tree view
-
toString
-