use of org.webpieces.ssl.api.SSLParser in project webpieces by deanhiller.
the class TestSslCloseSvr method createClientParser.
private SSLParser createClientParser() {
SSLEngineFactoryForTestOld sslFactory = new SSLEngineFactoryForTestOld();
BufferPool pool = new TwoPools("p1", new SimpleMeterRegistry());
SSLEngine clientSsl = sslFactory.createEngineForSocket();
SSLMetrics sslMetrics = new SSLMetrics("", new SimpleMeterRegistry());
SSLParser clientSslParser1 = AsyncSSLFactory.create("svr", clientSsl, pool, sslMetrics);
return clientSslParser1;
}
Aggregations