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 intcapacity()voidclose_head()voidclose_tail()java.nio.ByteBufferhead()intpending()voidpop(int bytes)intposition()voidprocess()java.nio.ByteBuffertail()
-
-
-
Constructor Detail
-
PlainTransportWrapper
public PlainTransportWrapper(TransportOutput outputProcessor, TransportInput inputProcessor)
-
-
Method Detail
-
capacity
public int capacity()
- Specified by:
capacityin interfaceTransportInput
-
position
public int position()
- Specified by:
positionin interfaceTransportInput
-
tail
public java.nio.ByteBuffer tail()
- Specified by:
tailin interfaceTransportInput
-
process
public void process() throws TransportException- Specified by:
processin interfaceTransportInput- Throws:
TransportException
-
close_tail
public void close_tail()
- Specified by:
close_tailin interfaceTransportInput
-
pending
public int pending()
- Specified by:
pendingin interfaceTransportOutput
-
head
public java.nio.ByteBuffer head()
- Specified by:
headin interfaceTransportOutput
-
pop
public void pop(int bytes)
- Specified by:
popin interfaceTransportOutput
-
close_head
public void close_head()
- Specified by:
close_headin interfaceTransportOutput
-
-