[RM] Bug Created a service parameter for NTGClient allowing to send Logon after 'connect'
@@ -115,7 +115,9 @@ public final class NTGClient extends AbstractMINATCPService {
protected void internalStart() throws Exception {
super.internalStart();
connect();
+ }
+ private void autoLogin() throws InterruptedException {
if (getSettings().isDoLoginOnStart()) {
login();
@@ -220,6 +222,8 @@ public final class NTGClient extends AbstractMINATCPService {
super.postConnect();
updateState(NTGClientState.SessionCreated);
restartDisconnectTimer();
+
+ autoLogin();
}
private void updateState(NTGClientState newState) {
