Search in sources :

Example 1 with WebSocketRequest

use of org.yamcs.api.ws.WebSocketRequest in project yamcs-studio by yamcs.

the class ManagementCatalogue method onYamcsConnected.

@Override
public void onYamcsConnected() {
    YamcsClient yamcsClient = YamcsPlugin.getYamcsClient();
    yamcsClient.subscribe(new WebSocketRequest("management", "subscribe"), this);
}
Also used : YamcsClient(org.yamcs.studio.core.client.YamcsClient) WebSocketRequest(org.yamcs.api.ws.WebSocketRequest)

Example 2 with WebSocketRequest

use of org.yamcs.api.ws.WebSocketRequest in project yamcs-studio by yamcs.

the class AlarmCatalogue method onYamcsConnected.

@Override
public void onYamcsConnected() {
    YamcsClient yamcsClient = YamcsPlugin.getYamcsClient();
    yamcsClient.subscribe(new WebSocketRequest("alarms", "subscribe"), this);
}
Also used : YamcsClient(org.yamcs.studio.core.client.YamcsClient) WebSocketRequest(org.yamcs.api.ws.WebSocketRequest)

Example 3 with WebSocketRequest

use of org.yamcs.api.ws.WebSocketRequest in project yamcs-studio by yamcs.

the class CommandingCatalogue method onYamcsConnected.

@Override
public void onYamcsConnected() {
    YamcsClient yamcsClient = YamcsPlugin.getYamcsClient();
    yamcsClient.subscribe(new WebSocketRequest("cmdhistory", "subscribe"), this);
    yamcsClient.subscribe(new WebSocketRequest("cqueues", "subscribe"), this);
    initialiseState();
}
Also used : YamcsClient(org.yamcs.studio.core.client.YamcsClient) WebSocketRequest(org.yamcs.api.ws.WebSocketRequest)

Example 4 with WebSocketRequest

use of org.yamcs.api.ws.WebSocketRequest in project yamcs-studio by yamcs.

the class EventCatalogue method onYamcsConnected.

@Override
public void onYamcsConnected() {
    YamcsClient yamcsClient = YamcsPlugin.getYamcsClient();
    yamcsClient.subscribe(new WebSocketRequest("events", "subscribe"), this);
}
Also used : YamcsClient(org.yamcs.studio.core.client.YamcsClient) WebSocketRequest(org.yamcs.api.ws.WebSocketRequest)

Example 5 with WebSocketRequest

use of org.yamcs.api.ws.WebSocketRequest in project yamcs-studio by yamcs.

the class LinkCatalogue method onYamcsConnected.

@Override
public void onYamcsConnected() {
    YamcsClient yamcsClient = YamcsPlugin.getYamcsClient();
    yamcsClient.subscribe(new WebSocketRequest("links", "subscribe"), this);
}
Also used : YamcsClient(org.yamcs.studio.core.client.YamcsClient) WebSocketRequest(org.yamcs.api.ws.WebSocketRequest)

Aggregations

WebSocketRequest (org.yamcs.api.ws.WebSocketRequest)6 YamcsClient (org.yamcs.studio.core.client.YamcsClient)6