Class TrackingWireCodec
java.lang.Object
io.fluxzero.common.api.tracking.TrackingWireCodec
Compact binary websocket representation for message publication and tracking.
The codec changes only the transport representation. Individual requests, messages, request identifiers, positions and response timings remain intact. Unsupported or heterogeneous values are left to the regular websocket transport codec.
-
Method Summary
-
Method Details
-
tryEncode
Encodes a supported tracking value, or returnsnullwhen the regular codec should be used.- Throws:
IOException
-
tryDecode
Decodes this codec's representation, or returnsnullfor another transport representation.- Throws:
IOException
-