final SSLEngine sslEngine = feedbackConnection.sslContext.createSSLEngine();
sslEngine.setUseClientMode(true);
pipeline.addLast("ssl", new SslHandler(sslEngine));
pipeline.addLast("readTimeoutHandler", new ReadTimeoutHandler(feedbackConnection.configuration.getReadTimeout()));
pipeline.addLast("decoder", new ExpiredTokenDecoder());
pipeline.addLast("handler", new FeedbackClientHandler(feedbackConnection));
}
});
this.connectFuture = bootstrap.connect(this.environment.getFeedbackHost(), this.environment.getFeedbackPort());