public abstract class ParameterReplayToChunkedTransferEncoder extends RestParameterReplayListener
| Modifier and Type | Field and Description |
|---|---|
protected io.netty.buffer.ByteBufOutputStream |
bufOut |
protected MediaType |
contentType |
protected boolean |
failed |
protected List<Yamcs.NamedObjectId> |
idList |
req| Constructor and Description |
|---|
ParameterReplayToChunkedTransferEncoder(RestRequest req,
MediaType contentType,
List<Yamcs.NamedObjectId> idList) |
ParameterReplayToChunkedTransferEncoder(RestRequest req,
MediaType contentType,
List<Yamcs.NamedObjectId> idList,
String filename) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeBufferOutputStream() |
void |
onParameterData(List<ParameterValueWithId> params) |
abstract void |
processParameterData(List<ParameterValueWithId> params,
io.netty.buffer.ByteBufOutputStream bufOut) |
void |
replayFinished() |
protected void |
resetBuffer() |
filter, filter, replayFailed, setNoRepeatfailed, isReplayAbortRequested, onParameterData, requestReplayAbortion, terminated, update, updateprotected io.netty.buffer.ByteBufOutputStream bufOut
protected MediaType contentType
protected List<Yamcs.NamedObjectId> idList
protected boolean failed
public ParameterReplayToChunkedTransferEncoder(RestRequest req, MediaType contentType, List<Yamcs.NamedObjectId> idList) throws HttpException
HttpExceptionpublic ParameterReplayToChunkedTransferEncoder(RestRequest req, MediaType contentType, List<Yamcs.NamedObjectId> idList, String filename) throws HttpException
HttpExceptionprotected void resetBuffer()
protected void closeBufferOutputStream()
throws IOException
IOExceptionpublic void onParameterData(List<ParameterValueWithId> params)
onParameterData in class RestReplayListenerpublic abstract void processParameterData(List<ParameterValueWithId> params, io.netty.buffer.ByteBufOutputStream bufOut) throws IOException
IOExceptionpublic void replayFinished()
replayFinished in class RestReplayListenerCopyright © 2018 Space Applications Services. All rights reserved.