public class RequestTerminator extends Object implements Interceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_TERMINATION |
| Constructor and Description |
|---|
RequestTerminator(YConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
interceptCommand(TseCommand metadata,
byte[] bytes,
Charset encoding)
Intercepts a raw command just before passing it to driver-specific write logic.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinterceptResponsepublic static final String CONFIG_TERMINATION
public RequestTerminator(YConfiguration config)
public byte[] interceptCommand(TseCommand metadata, byte[] bytes, Charset encoding)
InterceptorUsually this corresponds to an encoded string, for which the encoding is provided too.
interceptCommand in interface Interceptormetadata - Metadata about the command. Note that full information is only available if the command was issued
through Yamcs. If instead an internal Telnet session was used, only the target instrument is known.bytes - The raw command (usually correspons to an encoded string)encoding - String encodingCopyright © 2020 Space Applications Services. All rights reserved.