Code example for SSLEngineResult.HandshakeStatus

Methods: ordinal

0
import org.wso2.andes.transport.ConnectionSettings; 
import org.wso2.andes.transport.Receiver; 
import org.wso2.andes.transport.TransportException; 
import org.wso2.andes.transport.util.Logger; 
 
public class SSLReceiver implements Receiver<ByteBuffer>
{ 
    private Receiver<ByteBuffer> delegate;
    private SSLEngine engine;
    private SSLSender sender;
    private int sslBufSize;
    private ByteBuffer appData;
    private ByteBuffer localBuffer;
    private boolean dataCached = false;
    private final Object notificationToken;
    private ConnectionSettings settings;
     
    private static final Logger log = Logger.get(SSLReceiver.class); 
 
    public SSLReceiver(SSLEngine engine, Receiver<ByteBuffer> delegate,SSLSender sender)