Added ISslContextCreator method argument to Server.startServer to use embedded SSL certificates (fix issue #115)

This commit is contained in:
andsel
2015-12-13 16:36:47 +01:00
parent b280089225
commit 51627ea2f6
6 changed files with 163 additions and 99 deletions
@@ -26,7 +26,7 @@ import io.moquette.spi.impl.ProtocolProcessor;
*/
public interface ServerAcceptor {
void initialize(ProtocolProcessor processor, IConfig props) throws IOException;
void initialize(ProtocolProcessor processor, IConfig props, ISslContextCreator sslCtxCreator) throws IOException;
void close();
}