public synchronized void setReconnecting ( boolean b ) { reconnecting = b ; if ( transaction != null ) { ( ( ModbusTCPTransaction ) transaction ) . setReconnecting ( b ) ; } }
Sets the flag that specifies whether to maintain a constant connection or reconnect for every transaction .