public abstract class HandshakeSniffingTransportWrapper<T1 extends TransportWrapper,T2 extends TransportWrapper> extends java.lang.Object implements TransportWrapper
| Modifier and Type | Field and Description |
|---|---|
protected TransportWrapper |
_selectedTransportWrapper |
protected T1 |
_wrapper1 |
protected T2 |
_wrapper2 |
| Modifier | Constructor and Description |
|---|---|
protected |
HandshakeSniffingTransportWrapper(T1 wrapper1,
T2 wrapper2) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
bufferSize() |
int |
capacity() |
void |
close_head() |
void |
close_tail() |
java.nio.ByteBuffer |
head() |
protected boolean |
isDeterminationMade() |
protected abstract void |
makeDetermination(byte[] bytes) |
int |
pending() |
void |
pop(int bytes) |
int |
position() |
void |
process() |
java.nio.ByteBuffer |
tail() |
protected final T1 extends TransportWrapper _wrapper1
protected final T2 extends TransportWrapper _wrapper2
protected TransportWrapper _selectedTransportWrapper
public int capacity()
capacity in interface TransportInputpublic int position()
position in interface TransportInputpublic java.nio.ByteBuffer tail()
tail in interface TransportInputprotected abstract int bufferSize()
protected abstract void makeDetermination(byte[] bytes)
public void process()
throws TransportException
process in interface TransportInputTransportExceptionpublic void close_tail()
close_tail in interface TransportInputpublic 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 TransportOutputprotected boolean isDeterminationMade()