public class NettyWritable extends Object implements org.apache.qpid.proton.codec.WritableBuffer
Constructor and Description |
---|
NettyWritable(io.netty.buffer.ByteBuf nettyBuffer) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasRemaining() |
int |
limit() |
int |
position() |
void |
position(int position) |
void |
put(byte b) |
void |
put(byte[] src,
int offset,
int length) |
void |
put(ByteBuffer payload) |
void |
putDouble(double d) |
void |
putFloat(float f) |
void |
putInt(int i) |
void |
putLong(long l) |
void |
putShort(short s) |
int |
remaining() |
public void put(byte b)
put
in interface org.apache.qpid.proton.codec.WritableBuffer
public void putFloat(float f)
putFloat
in interface org.apache.qpid.proton.codec.WritableBuffer
public void putDouble(double d)
putDouble
in interface org.apache.qpid.proton.codec.WritableBuffer
public void put(byte[] src, int offset, int length)
put
in interface org.apache.qpid.proton.codec.WritableBuffer
public void putShort(short s)
putShort
in interface org.apache.qpid.proton.codec.WritableBuffer
public void putInt(int i)
putInt
in interface org.apache.qpid.proton.codec.WritableBuffer
public void putLong(long l)
putLong
in interface org.apache.qpid.proton.codec.WritableBuffer
public boolean hasRemaining()
hasRemaining
in interface org.apache.qpid.proton.codec.WritableBuffer
public int remaining()
remaining
in interface org.apache.qpid.proton.codec.WritableBuffer
public int position()
position
in interface org.apache.qpid.proton.codec.WritableBuffer
public void position(int position)
position
in interface org.apache.qpid.proton.codec.WritableBuffer
public void put(ByteBuffer payload)
put
in interface org.apache.qpid.proton.codec.WritableBuffer
public int limit()
limit
in interface org.apache.qpid.proton.codec.WritableBuffer
Copyright © 2016 The Apache Software Foundation. All rights reserved.