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 TransportInput
public int position()
position
in interface TransportInput
public java.nio.ByteBuffer tail()
tail
in interface TransportInput
public void process() throws TransportException
process
in interface TransportInput
TransportException
public void close_tail()
close_tail
in interface TransportInput
public int pending()
pending
in interface TransportOutput
public java.nio.ByteBuffer head()
head
in interface TransportOutput
public void pop(int bytes)
pop
in interface TransportOutput
public void close_head()
close_head
in interface TransportOutput