Class HistorianProtoCodec

java.lang.Object
com.inductiveautomation.historian.common.protobuf.HistorianProtoCodec

public final class HistorianProtoCodec extends Object
Converts historian model objects to and from their Protocol Buffers messages. It is the one encoder for each message, shared by the RPC adapters, the store-and-forward serializers and replication, so the three cannot drift apart.

Timestamps keep sub-millisecond precision across the wire. Paths travel as QualifiedPath.toString() and decode with toQualifiedPath(QualifiedPathPB), which rejects a string that is not a qualified path.