public class ProtocolHeaderTransport extends Object implements BytesTransport
| Constructor and Description |
|---|
ProtocolHeaderTransport(Map<Binary,BytesTransport> validHeaders) |
| Modifier and Type | Method and Description |
|---|---|
void |
getNextBytes(BytesProcessor processor) |
void |
inputClosed() |
boolean |
isOpenForInput() |
boolean |
isOpenForOutput() |
void |
outputClosed() |
void |
processBytes(ByteBuffer buf) |
void |
setInputStateChangeListener(StateChangeListener listener) |
void |
setOutputStateChangeListener(StateChangeListener listener) |
public ProtocolHeaderTransport(Map<Binary,BytesTransport> validHeaders)
public boolean isOpenForInput()
isOpenForInput in interface BytesTransportpublic void inputClosed()
inputClosed in interface BytesTransportpublic void processBytes(ByteBuffer buf)
processBytes in interface BytesProcessorprocessBytes in interface BytesTransportpublic void setInputStateChangeListener(StateChangeListener listener)
setInputStateChangeListener in interface BytesTransportpublic void getNextBytes(BytesProcessor processor)
getNextBytes in interface BytesTransportpublic void outputClosed()
outputClosed in interface BytesTransportpublic boolean isOpenForOutput()
isOpenForOutput in interface BytesTransportpublic void setOutputStateChangeListener(StateChangeListener listener)
setOutputStateChangeListener in interface BytesTransportCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.