The closeHSM() method under FyersSocket. calls hsConnection.disconnect();
Question:
Why called hsConnection.disconnect(); why not the hsConnection.release(); under FyersSocket closeHSM(); method.
Issue;
connectHSM() throws exception if i closed HSM connection before by calling closeHSM().
in connectHSM or ReconnectHSM the HSConnection.getInstance(); throws Max-Connection limit 1 reached.
Solution.
under CLoseHSM the hsConnection.release(); should use to avoid exception.
The closeHSM() method under FyersSocket. calls hsConnection.disconnect();
Question:
Why called hsConnection.disconnect(); why not the hsConnection.release(); under FyersSocket closeHSM(); method.
Issue;
connectHSM() throws exception if i closed HSM connection before by calling closeHSM().
in connectHSM or ReconnectHSM the HSConnection.getInstance(); throws Max-Connection limit 1 reached.
Solution.
under CLoseHSM the hsConnection.release(); should use to avoid exception.