org.apache.qpid.proton.engine.impl
Class PlainTransportWrapper
java.lang.Object
org.apache.qpid.proton.engine.impl.PlainTransportWrapper
- All Implemented Interfaces:
- TransportInput, TransportOutput, TransportWrapper
public class PlainTransportWrapper
- extends Object
- implements TransportWrapper
|
Method Summary |
int |
input(byte[] bytes,
int offset,
int size)
|
int |
output(byte[] bytes,
int offset,
int size)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainTransportWrapper
public PlainTransportWrapper(TransportOutput outputProcessor,
TransportInput inputProcessor)
output
public int output(byte[] bytes,
int offset,
int size)
- Specified by:
output in interface TransportOutput
- Parameters:
bytes - input bytes for consumptionoffset - the offset within bytes where input beginssize - the number of bytes available for input
- Returns:
- the number of bytes consumed
input
public int input(byte[] bytes,
int offset,
int size)
- Specified by:
input in interface TransportInput
- Parameters:
bytes - input bytes for consumptionoffset - the offset within bytes where input beginssize - the number of bytes available for input
- Returns:
- the number of bytes consumed
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.