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/TCPClientListener.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/TCPClientListener.java (file contents):
Revision 1.6 by tdb, Mon Jan 22 02:57:38 2001 UTC vs.
Revision 1.7 by tdb, Tue Jan 23 16:56:31 2001 UTC

# Line 36 | Line 36 | class TCPClientListener extends Thread {
36           * @param port The port that the server will listen on.
37           * @param queue A Queue to utilise
38           */
39 <    public TCPClientListener(int port, Queue queue) {
39 >    public TCPClientListener(int port, PacketSorter ps) {
40          _port = port;
41 <        _queue = queue;
41 >        _ps = ps;
42          _logger.write(toString(), Logger.SYSINIT, "started");
43      }
44  
# Line 89 | Line 89 | class TCPClientListener extends Thread {
89              if(run){
90                                  try {
91                                      // Setup the HostInit so it can carry on communications with the host
92 <                                    TCPControlHandler ctl = new TCPControlHandler(hostSocket, _queue);
92 >                                    TCPControlHandler ctl = new TCPControlHandler(hostSocket, _ps);
93                                      ctl.start();
94                  } catch (IOException e) {
95                      _logger.write(toString(), Logger.ERROR, e.toString());
# Line 145 | Line 145 | class TCPClientListener extends Thread {
145      private int _port;
146      
147      /**
148 <         * A reference to the Queue.
148 >         * A reference to the PacketSorter.
149           */
150 <    private Queue _queue;
150 >    private PacketSorter _ps;
151  
152   //---STATIC ATTRIBUTES---
153  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines