Package is.codion.tools.monitor.model
Class ClientInstanceMonitor
java.lang.Object
is.codion.tools.monitor.model.ClientInstanceMonitor
A ClientInstanceMonitor
-
Constructor Summary
ConstructorDescriptionClientInstanceMonitor
(EntityServerAdmin server, RemoteClient remoteClient) Instantiates a newClientInstanceMonitor
, monitoring the given client -
Method Summary
Modifier and TypeMethodDescriptionvoid
Refreshes the log document and tree model with the most recent log from the servertoString()
-
Constructor Details
-
ClientInstanceMonitor
public ClientInstanceMonitor(EntityServerAdmin 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
- Returns:
- the
RemoteClient
-
loggingEnabled
- Returns:
- the
State
for 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
-