sendAndCheckStructuredMessages(numberOfMessages);
}
private void initServerSocketFactory() throws StoreConfigurationException {
KeyStoreConfiguration ksc = new KeyStoreConfiguration(TestConstants.KEYSTORE_FILE, TestConstants.KEYSTORE_PWD, null, null);
TrustStoreConfiguration tsc = new TrustStoreConfiguration(TestConstants.TRUSTSTORE_FILE, TestConstants.TRUSTSTORE_PWD, null, null);
sslConfig = SslConfiguration.createSSLConfiguration(null, ksc, tsc);
serverSocketFactory = sslConfig.getSslServerSocketFactory();
}