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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/ClientInterfaceMain.java (file contents):
Revision 1.7 by tdb, Thu Jan 18 23:07:00 2001 UTC vs.
Revision 1.11 by tdb, Tue Jan 23 16:56:31 2001 UTC

# Line 16 | Line 16 | import uk.ac.ukc.iscream.util.*;
16   * @author  $Author$
17   * @version $Id$
18   */
19 < public class ClientInterfaceMain implements uk.ac.ukc.iscream.util.Component {
19 > public class ClientInterfaceMain implements Component {
20  
21   //---FINAL ATTRIBUTES---
22  
# Line 64 | Line 64 | public class ClientInterfaceMain implements uk.ac.ukc.
64          NAME = ourName;
65          
66          _logger.write(toString(), Logger.SYSINIT, "configured");
67 <                
67 >        
68 >        // Setup a PacketSorter
69 >        PacketSorter ps = new PacketSorter();
70 >        
71          // ClientInterfaceServant start (for inbound data)
72          _logger.write(toString(), Logger.DEBUG, "starting servant for inbound data");
73 <        ClientInterfaceServant ciServant = new ClientInterfaceServant();
73 >        ClientInterfaceServant ciServant = new ClientInterfaceServant(ps);
74          _refman.bindToOrb(ciServant, "iscream.ClientInterface." + ClientInterfaceMain.NAME);
75          
76 <        ClientListener clientListener = new ClientListener(listenPort, ciServant);
77 <        clientListener.start();
76 >        TCPClientListener tcpClientListener = new TCPClientListener(listenPort, ps);
77 >        tcpClientListener.start();
78          
79          _logger.write(toString(), Logger.SYSINIT, "started");
80      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines