Package zmq.io.coder.v2
Class V2Decoder
- java.lang.Object
-
- zmq.io.coder.DecoderBase
-
- zmq.io.coder.Decoder
-
- zmq.io.coder.v2.V2Decoder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface zmq.io.coder.IDecoder
IDecoder.Step
-
-
Field Summary
Fields Modifier and Type Field Description private intmsgFlagsprivate java.nio.ByteBuffertmpbuf-
Fields inherited from class zmq.io.coder.Decoder
eightByteSizeReady, flagsReady, inProgress, maxmsgsize, messageReady, oneByteSizeReady
-
-
Constructor Summary
Constructors Constructor Description V2Decoder(Errno errno, int bufsize, long maxmsgsize, MsgAllocator allocator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Msgallocate(int size)protected IDecoder.Step.ResulteightByteSizeReady()protected IDecoder.Step.ResultflagsReady()protected IDecoder.Step.ResultmessageReady()protected IDecoder.Step.ResultoneByteSizeReady()-
Methods inherited from class zmq.io.coder.Decoder
messageIncomplete, msg, sizeReady
-
-
-
-
Constructor Detail
-
V2Decoder
public V2Decoder(Errno errno, int bufsize, long maxmsgsize, MsgAllocator allocator)
-
-
Method Detail
-
oneByteSizeReady
protected IDecoder.Step.Result oneByteSizeReady()
- Overrides:
oneByteSizeReadyin classDecoder
-
eightByteSizeReady
protected IDecoder.Step.Result eightByteSizeReady()
- Overrides:
eightByteSizeReadyin classDecoder
-
flagsReady
protected IDecoder.Step.Result flagsReady()
- Overrides:
flagsReadyin classDecoder
-
messageReady
protected IDecoder.Step.Result messageReady()
- Overrides:
messageReadyin classDecoder
-
-