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