ProtonWritableBufferImpl

Proton WritableBuffer implementation that wraps a Netty ByteBuf

Constructors

this
this()
Undocumented in source.
this
this(int initialCapacity)
Undocumented in source.
this
this(ByteBuf buffer)
Undocumented in source.

Members

Functions

ensureRemaining
void ensureRemaining(int remaining)
Undocumented in source. Be warned that the author may not have intended to support it.
getBuffer
ByteBuf getBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
hasRemaining
bool hasRemaining()
Undocumented in source. Be warned that the author may not have intended to support it.
limit
int limit()
Undocumented in source. Be warned that the author may not have intended to support it.
position
int position()
Undocumented in source. Be warned that the author may not have intended to support it.
position
void position(int position)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(byte b)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(byte[] src, int offset, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(ByteBuffer payload)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(ByteBuf payload)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(ReadableBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
putDouble
void putDouble(double d)
Undocumented in source. Be warned that the author may not have intended to support it.
putFloat
void putFloat(float f)
Undocumented in source. Be warned that the author may not have intended to support it.
putInt
void putInt(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
putLong
void putLong(long l)
Undocumented in source. Be warned that the author may not have intended to support it.
putShort
void putShort(short s)
Undocumented in source. Be warned that the author may not have intended to support it.
remaining
int remaining()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

INITIAL_CAPACITY
int INITIAL_CAPACITY;
Undocumented in source.

Variables

nettyBuffer
ByteBuf nettyBuffer;
Undocumented in source.

Meta