public class YamcsEventReceiver extends Object implements ConnectionListener, EventReceiver, WebSocketClientCallback, WebSocketResponseHandler
| Constructor and Description |
|---|
YamcsEventReceiver(YamcsConnector yconnector) |
| Modifier and Type | Method and Description |
|---|---|
void |
connected(String url) |
void |
connecting(String url) |
void |
connectionFailed(String url,
YamcsException exception) |
void |
disconnected() |
void |
log(String message) |
void |
onException(Web.WebSocketServerMessage.WebSocketExceptionData e) |
void |
onMessage(Web.WebSocketServerMessage.WebSocketSubscriptionData data) |
void |
retrievePastEvents() |
void |
setEventViewer(EventViewer ev) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnected, connectionFailed, onInvalidIdentificationonCompletionpublic YamcsEventReceiver(YamcsConnector yconnector)
public void setEventViewer(EventViewer ev)
setEventViewer in interface EventReceiverpublic void onMessage(Web.WebSocketServerMessage.WebSocketSubscriptionData data)
onMessage in interface WebSocketClientCallbackpublic void connected(String url)
connected in interface ConnectionListenerpublic void retrievePastEvents()
retrievePastEvents in interface EventReceiverpublic void connecting(String url)
connecting in interface ConnectionListenerpublic void connectionFailed(String url, YamcsException exception)
connectionFailed in interface ConnectionListenerpublic void disconnected()
disconnected in interface ConnectionListenerdisconnected in interface WebSocketClientCallbackpublic void log(String message)
log in interface ConnectionListenerpublic void onException(Web.WebSocketServerMessage.WebSocketExceptionData e)
onException in interface WebSocketResponseHandlerCopyright © 2017 Space Applications Services. All rights reserved.