| | |
| | | }
|
| | | // ---------------------------------------------------------------------------------//
|
| | | } catch (Exception e) {
|
| | | logger.error(e.toString(), e);
|
| | | try {
|
| | | logger.error("IP:" + FBSDeviceIp + " " + this.getName() + " - BTS_IEC61850_ClientThread Connect Break Now By " + e.toString(), e);
|
| | | sleep(1000);
|
| | | m_Association.close();
|
| | | break;
|
| | | } catch (InterruptedException e1) {
|
| | | logger.error(e1.toString(), e1);
|
| | | }
|
| | |
| | | m_Association.disconnect();
|
| | | Thread.sleep(1000);
|
| | | m_Association.close();
|
| | | //m_ServerModel = null;
|
| | | m_ServerModel = null;
|
| | | } catch (Exception e) {
|
| | | logger.error(e.toString(), e);
|
| | | }
|