org.apache.qpid.proton.engine.impl.ssl
Class SslHandshakeSniffingTransportWrapper

java.lang.Object
  extended by org.apache.qpid.proton.engine.impl.ssl.SslHandshakeSniffingTransportWrapper
All Implemented Interfaces:
SslTransportWrapper, TransportInput, TransportOutput, TransportWrapper

public class SslHandshakeSniffingTransportWrapper
extends Object
implements SslTransportWrapper


Constructor Summary
SslHandshakeSniffingTransportWrapper(SslTransportWrapper secureTransportWrapper, TransportWrapper plainTransportWrapper)
           
 
Method Summary
 String getCipherName()
           
 String getProtocolName()
           
 int input(byte[] sourceBuffer, int offset, int size)
           
 int output(byte[] destinationBuffer, int offset, int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SslHandshakeSniffingTransportWrapper

public SslHandshakeSniffingTransportWrapper(SslTransportWrapper secureTransportWrapper,
                                            TransportWrapper plainTransportWrapper)
Method Detail

input

public int input(byte[] sourceBuffer,
                 int offset,
                 int size)
Specified by:
input in interface TransportInput
Parameters:
sourceBuffer - input bytes for consumption
offset - the offset within bytes where input begins
size - 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 consumption
offset - the offset within bytes where input begins
size - 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.