public void messageReceived(NextFilter nextFilter, IoSession session,
Object message) throws SSLException {
SSLHandler handler = getSSLSessionHandler(session);
synchronized (handler) {
if (!isSSLStarted(session) && handler.isInboundDone()) {
handler.scheduleMessageReceived(nextFilter, message);
} else {
ByteBuffer buf = (ByteBuffer) message;
if (SessionLog.isDebugEnabled(session)) {
SessionLog.debug(session, " Data Read: " + handler + " ("
+ buf + ')');