public class PlainTransportWrapper extends java.lang.Object implements TransportWrapper
| Constructor and Description |
|---|
PlainTransportWrapper(TransportOutput outputProcessor,
TransportInput inputProcessor) |
| Modifier and Type | Method and Description |
|---|---|
int |
capacity() |
void |
close_head() |
void |
close_tail() |
java.nio.ByteBuffer |
head() |
int |
pending() |
void |
pop(int bytes) |
int |
position() |
void |
process() |
java.nio.ByteBuffer |
tail() |
public PlainTransportWrapper(TransportOutput outputProcessor, TransportInput inputProcessor)
public int capacity()
capacity in interface TransportInputpublic int position()
position in interface TransportInputpublic java.nio.ByteBuffer tail()
tail in interface TransportInputpublic void process()
throws TransportException
process in interface TransportInputTransportExceptionpublic void close_tail()
close_tail in interface TransportInputpublic int pending()
pending in interface TransportOutputpublic java.nio.ByteBuffer head()
head in interface TransportOutputpublic void pop(int bytes)
pop in interface TransportOutputpublic void close_head()
close_head in interface TransportOutput