public interface EventCodec extends EventDecoder
Modifier and Type | Field and Description |
---|---|
static int |
API_VERSION
Codec API version.
|
Modifier and Type | Method and Description |
---|---|
void |
sendNormalisedEvent(NormalisedEvent event,
TimestampSet timestamps)
Called by the Semantic Mapper to encode a normalised event and send
it through to the transport.
|
sendTransportEvent
static final int API_VERSION
Version history:
1.1 First public version, with interface similar to C interface 1.1.
1.2 Added new thrown exceptions, so that Semantic Mapper and CodecException errors can be passed straight up the chain of callers, without wrapping inside other exceptions.
4.0 Addition of high-accuracy timestamps for latency measurement.
void sendNormalisedEvent(NormalisedEvent event, TimestampSet timestamps) throws CodecException, TransportException
event
- A NormalisedEvent representing the event to be encoded.timestamps
- A TimestampSet representing the timestamps attached
to the event.CodecException
- Thrown by the codec if the event provided
has an invalid format.TransportException
- Thrown if an error occurred in the Transport
when sending the message.Submit a bug or feature
Copyright (c) 2013-2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.