@Override
        public void connected() {
            if (supportsSsl()) {
                try {
                    // Block until the handshake is complete either successfully or with an error.
                    sslHandler.handshakeFuture().sync();
                } catch (Exception ex) {
                    throw new ConnectionException(connection.getUri(), HANDSHAKE_ERROR, ex);
                }
            }
        }
Base implementation of the client side {@link Channelizer}.
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Channelizer.java