Added TLS support using tlsChannel by @marianobarrios.
Added pom file for maven build (didn't touch gradle file,it will probably need an update) and updated gitignore.
Modified module-info to add tls.channel.
I kept the implementation safe by adding the public methods of SmppHandlerImpl back to the interface SmppHandler. Add implementing them in TlsSmppHandlerImpl (basically copy with changes going to the socketchannel). I also added some code to the LoginForm. a simple checkbox, that is used as follows. I made the smppHandler in EventDispatcher generic.
if (tlsCheckBox.isSelected()) {
var smppHandler = new TlsSmppHandlerImpl(eventDispatcher);
eventDispatcher.setSmppHandler(smppHandler);
}
Added TLS support using tlsChannel by @marianobarrios.
Added pom file for maven build (didn't touch gradle file,it will probably need an update) and updated gitignore.
Modified module-info to add tls.channel.
I kept the implementation safe by adding the public methods of
SmppHandlerImpl
back to the interfaceSmppHandler
. Add implementing them inTlsSmppHandlerImpl
(basically copy with changes going to the socketchannel). I also added some code to theLoginForm
. a simple checkbox, that is used as follows. I made the smppHandler inEventDispatcher
generic.Otheriwise, nothing else was changed.