ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/TCPControlHandler.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/TCPControlHandler.java (file contents):
Revision 1.2 by tdb, Mon Jan 22 02:57:38 2001 UTC vs.
Revision 1.3 by tdb, Mon Jan 22 23:08:15 2001 UTC

# Line 133 | Line 133 | class TCPControlHandler extends Thread {
133                  }
134                  else if(cmd.equals("DISCONNECT")) {
135                      run=false;
136 +                    if(_dataHandler != null) {
137 +                        // Shut down the data handler
138 +                        _dataHandler.shutdown();
139 +                        // destroy the reference to it ?
140 +                        _dataHandler = null;
141 +                        _logger.write(toString(), Logger.SYSMSG, "Data stream stopped at Clients Request");
142 +                    }
143                      _socketOut.println("OK");
144                      _socketOut.flush();
145                      _socketIn.close();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines