Ticket #160 (closed defect: done)
CAD Server should not display error when CAD Client disconnects normally
| Reported by: | jdalbey | Owned by: | jdalbey |
|---|---|---|---|
| Priority: | Low | Milestone: | Sep 2019 Training |
| Component: | CAD Client | Version: | |
| Severity: | Minor | Keywords: | |
| Cc: |
Description
Currently, Info Messages appear in CAD Server display
CADSimulatorClient.run or .transmitCommand or CADClientConnector.java line 110
Error reading from / writing to Client Socket
that I suspect are from a normal shutdown of a CAD Client. So the normal shutdown needs to be fixed so that it doesn't cause error messages.
Perhaps when client is shutting down it isn't properly notifying ClientConnector?
Also note, "disconnectClient()" is commented out in CADClientConnector.java
Possibly this is a Windows-only problem.
Change History
Note: See
TracTickets for help on using
tickets.

CADClient.java has a window closing listener at line 212 that closes the socket and does a system.exit. This may need to be enhanced to something that notifies the server that this socket closing is a normal shutdown.