public class PlainTransportWrapper extends 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() |
ByteBuffer |
head() |
int |
pending() |
void |
pop(int bytes) |
int |
position() |
void |
process() |
ByteBuffer |
tail() |
public PlainTransportWrapper(TransportOutput outputProcessor, TransportInput inputProcessor)
public int capacity()
capacity in interface TransportInputpublic int position()
position in interface TransportInputpublic 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 ByteBuffer head()
head in interface TransportOutputpublic void pop(int bytes)
pop in interface TransportOutputpublic void close_head()
close_head in interface TransportOutputCopyright © 2020 The Apache Software Foundation. All rights reserved.