public class YamcsMonitor extends Object implements org.yamcs.api.ws.WebSocketClientCallback, org.yamcs.api.ProcessorListener, org.yamcs.api.ws.ConnectionListener, ActionListener, ItemListener, LinkListener
| Modifier and Type | Field and Description |
|---|---|
org.yamcs.api.YamcsConnectionProperties |
connectionParams |
| Constructor and Description |
|---|
YamcsMonitor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnected, connecting, connectionFailedpublic org.yamcs.api.YamcsConnectionProperties connectionParams
public YamcsMonitor()
throws ConfigurationException,
IOException
ConfigurationExceptionIOExceptionprotected void destroyProcessor(int selectedRow)
protected void createProcessor(int[] selectedRows)
public void connect(org.yamcs.api.YamcsConnectionProperties ycp)
public void actionPerformed(ActionEvent ae)
actionPerformed in interface ActionListenerpublic void showAbout()
public void connecting(String corbaUrl)
connecting in interface org.yamcs.api.ws.ConnectionListenerpublic void connectionFailed(String corbaUrl, YamcsException exception)
connectionFailed in interface org.yamcs.api.ws.ConnectionListenerpublic void connected(String url)
connected in interface org.yamcs.api.ws.ConnectionListenerpublic void disconnected()
disconnected in interface org.yamcs.api.ws.ConnectionListenerdisconnected in interface org.yamcs.api.ws.WebSocketClientCallbackpublic ProcessorWidget getActiveProcessorWidget()
public void log(String s)
log in interface org.yamcs.api.ProcessorListenerlog in interface org.yamcs.api.ws.ConnectionListenerlog in interface LinkListenerpublic void updateStatistics(org.yamcs.protobuf.YamcsManagement.Statistics stats)
updateStatistics in interface org.yamcs.api.ProcessorListenerpublic void itemStateChanged(ItemEvent arg0)
itemStateChanged in interface ItemListenerpublic void processorUpdated(org.yamcs.protobuf.YamcsManagement.ProcessorInfo ci)
processorUpdated in interface org.yamcs.api.ProcessorListenerpublic void processorClosed(org.yamcs.protobuf.YamcsManagement.ProcessorInfo pinfo)
processorClosed in interface org.yamcs.api.ProcessorListenerpublic void clientDisconnected(org.yamcs.protobuf.YamcsManagement.ClientInfo ci)
clientDisconnected in interface org.yamcs.api.ProcessorListenerpublic void clientUpdated(org.yamcs.protobuf.YamcsManagement.ClientInfo ci)
clientUpdated in interface org.yamcs.api.ProcessorListenerpublic void updateLink(org.yamcs.protobuf.YamcsManagement.LinkInfo li)
updateLink in interface LinkListenerpublic static void main(String[] args) throws IOException, URISyntaxException, ConfigurationException
public void onMessage(org.yamcs.protobuf.Web.WebSocketServerMessage.WebSocketSubscriptionData data)
onMessage in interface org.yamcs.api.ws.WebSocketClientCallbackpublic void popup(String text)
popup in interface org.yamcs.api.ProcessorListenerCopyright © 2018 Space Applications Services. All rights reserved.