|| currentConnection.getState() == Connection.EnumState.waitfor_acconnect
|| currentConnection.getState() == Connection.EnumState.waitfor_relconf) {
return false;
}
// test on idle, waitfor_aconnect, transfer_inprogress, transfer_waiting
ConnectionWS currentConnectionWS = new ConnectionWS();
OutputConnectionWS outputToSend;
try {
outputToSend = currentConnectionWS.messageParser("release_" + bankName);
} catch (Exception e) {
e.printStackTrace();
System.out.println("exception 1");
return false;
}