Class PlainTransportWrapper
- java.lang.Object
-
- org.apache.qpid.proton.engine.impl.PlainTransportWrapper
-
- All Implemented Interfaces:
TransportInput
,TransportOutput
,TransportWrapper
public class PlainTransportWrapper extends java.lang.Object implements TransportWrapper
-
-
Constructor Summary
Constructors Constructor Description PlainTransportWrapper(TransportOutput outputProcessor, TransportInput inputProcessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
PlainTransportWrapper
public PlainTransportWrapper(TransportOutput outputProcessor, TransportInput inputProcessor)
-
-
Method Detail
-
capacity
public int capacity()
- Specified by:
capacity
in interfaceTransportInput
-
position
public int position()
- Specified by:
position
in interfaceTransportInput
-
tail
public java.nio.ByteBuffer tail()
- Specified by:
tail
in interfaceTransportInput
-
process
public void process() throws TransportException
- Specified by:
process
in interfaceTransportInput
- Throws:
TransportException
-
close_tail
public void close_tail()
- Specified by:
close_tail
in interfaceTransportInput
-
pending
public int pending()
- Specified by:
pending
in interfaceTransportOutput
-
head
public java.nio.ByteBuffer head()
- Specified by:
head
in interfaceTransportOutput
-
pop
public void pop(int bytes)
- Specified by:
pop
in interfaceTransportOutput
-
close_head
public void close_head()
- Specified by:
close_head
in interfaceTransportOutput
-
-