Package org.apache.qpid.proton.codec
Class DroppingWritableBuffer
- java.lang.Object
-
- org.apache.qpid.proton.codec.DroppingWritableBuffer
-
- All Implemented Interfaces:
WritableBuffer
public class DroppingWritableBuffer extends java.lang.Object implements WritableBuffer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.qpid.proton.codec.WritableBuffer
WritableBuffer.ByteBufferWrapper
-
-
Constructor Summary
Constructors Constructor Description DroppingWritableBuffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(java.lang.String value)
void
put(java.nio.ByteBuffer payload)
void
put(ReadableBuffer payload)
void
putDouble(double d)
void
putFloat(float f)
void
putInt(int i)
void
putLong(long l)
void
putShort(short s)
int
remaining()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.qpid.proton.codec.WritableBuffer
ensureRemaining
-
-
-
-
Method Detail
-
hasRemaining
public boolean hasRemaining()
- Specified by:
hasRemaining
in interfaceWritableBuffer
-
put
public void put(byte b)
- Specified by:
put
in interfaceWritableBuffer
-
putFloat
public void putFloat(float f)
- Specified by:
putFloat
in interfaceWritableBuffer
-
putDouble
public void putDouble(double d)
- Specified by:
putDouble
in interfaceWritableBuffer
-
put
public void put(byte[] src, int offset, int length)
- Specified by:
put
in interfaceWritableBuffer
-
putShort
public void putShort(short s)
- Specified by:
putShort
in interfaceWritableBuffer
-
putInt
public void putInt(int i)
- Specified by:
putInt
in interfaceWritableBuffer
-
putLong
public void putLong(long l)
- Specified by:
putLong
in interfaceWritableBuffer
-
remaining
public int remaining()
- Specified by:
remaining
in interfaceWritableBuffer
-
position
public int position()
- Specified by:
position
in interfaceWritableBuffer
-
position
public void position(int position)
- Specified by:
position
in interfaceWritableBuffer
-
put
public void put(java.nio.ByteBuffer payload)
- Specified by:
put
in interfaceWritableBuffer
-
limit
public int limit()
- Specified by:
limit
in interfaceWritableBuffer
-
put
public void put(ReadableBuffer payload)
- Specified by:
put
in interfaceWritableBuffer
-
put
public void put(java.lang.String value)
- Specified by:
put
in interfaceWritableBuffer
-
-