public class AdapterMonitorGuiPanel extends Object implements AgentStatusListener
MonitorGui.Panel as a AgentStatusListener (Not yet implemented).
This class exist to support legacy code.| Constructor and Description |
|---|
AdapterMonitorGuiPanel(MonitorGui.Panel monitorPanel) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(AgentStatusEvent event)
Called when a new agent connects to the buses.
|
void |
disconnect(AgentStatusEvent event)
Called when an agent disconnects from the buses or goes into OFFLINE state.
|
void |
statusChanged(AgentStatusEvent event)
Called on status change.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurepublic AdapterMonitorGuiPanel(MonitorGui.Panel monitorPanel)
public void connect(AgentStatusEvent event)
AgentStatusListener
The event passed to this method does not contain any information on channels
(corresponding methods return empty collections) or a reference to a status message.
The event can only be used to retrieve AgentInfo descriptor and a reference
to the AgentStatusAggregator instance.
The implementation should return quickly. Any blocking operations should be scheduled on a separate thread.
connect in interface AgentStatusListenerevent - Event.public void disconnect(AgentStatusEvent event)
AgentStatusListener
The event passed to this method does not contain any information on channels status -
corresponding methods return empty collections. Since the disconnection event might or might not
be triggered by a status message, getMessage() method might return null.
The implementation should return quickly. Any blocking operations should be scheduled on a separate thread.
disconnect in interface AgentStatusListenerevent - Event.public void statusChanged(AgentStatusEvent event)
AgentStatusListenerstatusChanged in interface AgentStatusListenerevent - event Event.Copyright © 2018 LSST. All rights reserved.