Class HandshakeSniffingTransportWrapper<T1 extends TransportWrapper,T2 extends TransportWrapper>
java.lang.Object
org.apache.qpid.proton.engine.impl.HandshakeSniffingTransportWrapper<T1,T2>
- All Implemented Interfaces:
TransportInput
,TransportOutput
,TransportWrapper
- Direct Known Subclasses:
SslHandshakeSniffingTransportWrapper
public abstract class HandshakeSniffingTransportWrapper<T1 extends TransportWrapper,T2 extends TransportWrapper>
extends Object
implements TransportWrapper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TransportWrapper
protected final T1
protected final T2
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
HandshakeSniffingTransportWrapper
(T1 wrapper1, T2 wrapper2) -
Method Summary
-
Field Details
-
_wrapper1
-
_wrapper2
-
_selectedTransportWrapper
-
-
Constructor Details
-
HandshakeSniffingTransportWrapper
-
-
Method Details
-
capacity
public int capacity()- Specified by:
capacity
in interfaceTransportInput
-
position
public int position()- Specified by:
position
in interfaceTransportInput
-
tail
- Specified by:
tail
in interfaceTransportInput
-
bufferSize
protected abstract int bufferSize() -
makeDetermination
protected abstract void makeDetermination(byte[] bytes) -
process
- Specified by:
process
in interfaceTransportInput
- Throws:
TransportException
-
close_tail
public void close_tail()- Specified by:
close_tail
in interfaceTransportInput
-
pending
public int pending()- Specified by:
pending
in interfaceTransportOutput
-
head
- Specified by:
head
in interfaceTransportOutput
-
pop
public void pop(int bytes) - Specified by:
pop
in interfaceTransportOutput
-
close_head
public void close_head()- Specified by:
close_head
in interfaceTransportOutput
-
isDeterminationMade
protected boolean isDeterminationMade()
-