sslIncomingBuffer.flip();
SSLEngineResult result = sslEngine.unwrap(sslIncomingBuffer, buffer);
sslIncomingBuffer.compact();
if(handshakeComplete)
return buffer.position();
HandshakeStatus status=sslEngine.getHandshakeStatus();
while((status != HandshakeStatus.NOT_HANDSHAKING) && (!this.isCloseable()))
{
switch(status)
{
case NEED_TASK: