public class YamcsMonitor extends Object implements WebSocketClientCallback, ProcessorListener, ConnectionListener, ActionListener, ItemListener, LinkListener
| Modifier and Type | Field and Description |
|---|---|
YamcsConnectionProperties |
connectionParams |
| Constructor and Description |
|---|
YamcsMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent ae) |
void |
clientDisconnected(YamcsManagement.ClientInfo ci)
Called by the server when a client has disconnected
|
void |
clientUpdated(YamcsManagement.ClientInfo ci)
Called by the server when a client has changed processor or a new client has connected
|
void |
connect(YamcsConnectionProperties ycp) |
void |
connected(String url) |
void |
connecting(String corbaUrl) |
void |
connectionFailed(String corbaUrl,
YamcsException exception) |
protected void |
createProcessor(int[] selectedRows) |
protected void |
destroyProcessor(int selectedRow) |
void |
disconnected() |
ProcessorWidget |
getActiveProcessorWidget() |
ImageIcon |
getIcon(String imagename) |
void |
itemStateChanged(ItemEvent arg0) |
void |
log(String s) |
static void |
main(String[] args) |
void |
onMessage(Web.WebSocketServerMessage.WebSocketSubscriptionData data) |
void |
popup(String text) |
void |
processorClosed(YamcsManagement.ProcessorInfo pinfo)
Called by the server when a processor has been closed
|
void |
processorUpdated(YamcsManagement.ProcessorInfo ci)
Called by the server when a processor has been added or changed
|
void |
showAbout() |
void |
updateLink(YamcsManagement.LinkInfo li) |
void |
updateStatistics(YamcsManagement.Statistics stats)
Called when a row is selected in the processor table.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnected, connectionFailed, onInvalidIdentificationpublic YamcsConnectionProperties connectionParams
public YamcsMonitor()
throws ConfigurationException,
IOException
ConfigurationExceptionIOExceptionprotected void destroyProcessor(int selectedRow)
protected void createProcessor(int[] selectedRows)
public void connect(YamcsConnectionProperties ycp)
public void actionPerformed(ActionEvent ae)
actionPerformed in interface ActionListenerpublic void showAbout()
public void connecting(String corbaUrl)
connecting in interface ConnectionListenerpublic void connectionFailed(String corbaUrl, YamcsException exception)
connectionFailed in interface ConnectionListenerpublic void connected(String url)
connected in interface ConnectionListenerpublic void disconnected()
disconnected in interface ConnectionListenerdisconnected in interface WebSocketClientCallbackpublic ProcessorWidget getActiveProcessorWidget()
public void log(String s)
log in interface ConnectionListenerlog in interface LinkListenerlog in interface ProcessorListenerpublic void updateStatistics(YamcsManagement.Statistics stats)
updateStatistics in interface ProcessorListenerpublic void itemStateChanged(ItemEvent arg0)
itemStateChanged in interface ItemListenerpublic void processorUpdated(YamcsManagement.ProcessorInfo ci)
processorUpdated in interface ProcessorListenerpublic void processorClosed(YamcsManagement.ProcessorInfo pinfo)
processorClosed in interface ProcessorListenerpublic void clientDisconnected(YamcsManagement.ClientInfo ci)
clientDisconnected in interface ProcessorListenerpublic void clientUpdated(YamcsManagement.ClientInfo ci)
clientUpdated in interface ProcessorListenerpublic void updateLink(YamcsManagement.LinkInfo li)
updateLink in interface LinkListenerpublic static void main(String[] args) throws IOException, URISyntaxException, ConfigurationException
public void onMessage(Web.WebSocketServerMessage.WebSocketSubscriptionData data)
onMessage in interface WebSocketClientCallbackpublic void popup(String text)
popup in interface ProcessorListenerCopyright © 2017 Space Applications Services. All rights reserved.