public class JtiGpbAdapter extends AbstractPersistingAdapter
Constructor and Description |
---|
JtiGpbAdapter() |
Modifier and Type | Method and Description |
---|---|
String |
getScript() |
Optional<CollectionSetWithAgent> |
handleMessage(TelemetryMessageDTO message,
TelemetryMessageLogDTO messageLog)
Build a collection set from the given message.
|
void |
setScript(String script) |
handleMessageLog, setProtocol
public Optional<CollectionSetWithAgent> handleMessage(TelemetryMessageDTO message, TelemetryMessageLogDTO messageLog) throws Exception
AbstractPersistingAdapter
handleMessage
in class AbstractPersistingAdapter
message
- message to be converted into a collection setmessageLog
- message log to which the message belongsCollectionSetWithAgent
or an empty value if nothing should be persistedException
- if an error occured while generating the collection setpublic String getScript()
public void setScript(String script)
Copyright © 2018. All rights reserved.