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 int
msgFlags
private java.nio.ByteBuffer
tmpbuf
-
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 Msg
allocate(int size)
protected IDecoder.Step.Result
eightByteSizeReady()
protected IDecoder.Step.Result
flagsReady()
protected IDecoder.Step.Result
messageReady()
protected IDecoder.Step.Result
oneByteSizeReady()
-
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:
oneByteSizeReady
in classDecoder
-
eightByteSizeReady
protected IDecoder.Step.Result eightByteSizeReady()
- Overrides:
eightByteSizeReady
in classDecoder
-
flagsReady
protected IDecoder.Step.Result flagsReady()
- Overrides:
flagsReady
in classDecoder
-
messageReady
protected IDecoder.Step.Result messageReady()
- Overrides:
messageReady
in classDecoder
-
-