Class ClientInstanceMonitor
java.lang.Object
is.codion.swing.framework.server.monitor.ClientInstanceMonitor
A ClientInstanceMonitor
-
Constructor Summary
ConstructorsConstructorDescriptionClientInstanceMonitor
(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
-