|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.qpid.proton.engine.impl.ssl.BytePipeline
public class BytePipeline
Thinly wraps a ByteBuffer to make it easy to be used for the following sequence of operations:
appendAndClear(byte[], int, int)set(ByteBuffer, int)
SimpleSslTransportWrapper| Constructor Summary | |
|---|---|
BytePipeline()
|
|
| Method Summary | |
|---|---|
ByteBuffer |
appendAndClear(byte[] newBytes,
int offset,
int numberOfNewBytesToAppend)
Append the new bytes to my existing not-yet-consumed ones. |
int |
getSize()
Get the number of bytes not yet consumed |
void |
set(ByteBuffer newBytes,
int offset)
Stores the portion of newBytes implied by the offset. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BytePipeline()
| Method Detail |
|---|
public ByteBuffer appendAndClear(byte[] newBytes,
int offset,
int numberOfNewBytesToAppend)
public void set(ByteBuffer newBytes,
int offset)
public int getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||