private class SaslImpl.SaslTransportWrapper extends java.lang.Object implements TransportWrapper
| Modifier and Type | Field and Description |
|---|---|
private java.nio.ByteBuffer |
_head |
private boolean |
_outputComplete |
private TransportInput |
_underlyingInput |
private TransportOutput |
_underlyingOutput |
| Modifier | Constructor and Description |
|---|---|
private |
SaslTransportWrapper(TransportInput input,
TransportOutput output) |
| Modifier and Type | Method and Description |
|---|---|
int |
capacity() |
void |
close_head() |
void |
close_tail() |
private void |
fillOutputBuffer() |
java.nio.ByteBuffer |
head() |
private boolean |
isInputInSaslMode()
TODO rationalise this method with respect to the other similar checks of _role/_initReceived etc
|
private boolean |
isOutputInSaslMode() |
int |
pending() |
void |
pop(int bytes) |
int |
position() |
void |
process() |
private void |
reallyProcessInput() |
java.nio.ByteBuffer |
tail() |
private final TransportInput _underlyingInput
private final TransportOutput _underlyingOutput
private boolean _outputComplete
private final java.nio.ByteBuffer _head
private SaslTransportWrapper(TransportInput input, TransportOutput output)
private void fillOutputBuffer()
private boolean isInputInSaslMode()
SaslImpl.isDone()private boolean isOutputInSaslMode()
public int capacity()
capacity in interface TransportInputpublic int position()
position in interface TransportInputpublic java.nio.ByteBuffer tail()
tail in interface TransportInputpublic void process()
throws TransportException
process in interface TransportInputTransportExceptionpublic void close_tail()
close_tail in interface TransportInputprivate void reallyProcessInput()
throws TransportException
TransportExceptionpublic int pending()
pending in interface TransportOutputpublic java.nio.ByteBuffer head()
head in interface TransportOutputpublic void pop(int bytes)
pop in interface TransportOutputpublic void close_head()
close_head in interface TransportOutput