de.huxhorn.lilith.data.logging.protobuf
Class LoggingEventWrapperProtobufDecoder
java.lang.Object
de.huxhorn.lilith.data.logging.protobuf.LoggingEventWrapperProtobufDecoder
- All Implemented Interfaces:
- de.huxhorn.sulky.codec.Decoder<de.huxhorn.lilith.data.eventsource.EventWrapper<de.huxhorn.lilith.data.logging.LoggingEvent>>
public class LoggingEventWrapperProtobufDecoder
- extends java.lang.Object
- implements de.huxhorn.sulky.codec.Decoder<de.huxhorn.lilith.data.eventsource.EventWrapper<de.huxhorn.lilith.data.logging.LoggingEvent>>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingEventWrapperProtobufDecoder
public LoggingEventWrapperProtobufDecoder(boolean compressing)
isCompressing
public boolean isCompressing()
setCompressing
public void setCompressing(boolean compressing)
decode
public de.huxhorn.lilith.data.eventsource.EventWrapper<de.huxhorn.lilith.data.logging.LoggingEvent> decode(byte[] bytes)
- Specified by:
decode in interface de.huxhorn.sulky.codec.Decoder<de.huxhorn.lilith.data.eventsource.EventWrapper<de.huxhorn.lilith.data.logging.LoggingEvent>>
convert
public static de.huxhorn.lilith.data.eventsource.EventWrapper<de.huxhorn.lilith.data.logging.LoggingEvent> convert(LoggingProto.EventWrapper parsedEvent)
convert
public static de.huxhorn.lilith.data.eventsource.EventIdentifier convert(LoggingProto.EventIdentifier eventIdentifier)
convert
public static de.huxhorn.lilith.data.eventsource.SourceIdentifier convert(LoggingProto.SourceIdentifier sourceIdentifier)