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.14 by tdb, Sun Jan 28 05:57:29 2001 UTC vs.
Revision 1.16 by tdb, Sat Feb 3 00:41:04 2001 UTC

# Line 44 | Line 44 | public class ClientInterfaceMain implements Component
44          
45          Configuration config = _refman.getCM().getConfiguration("ClientInterface");
46          if (config == null) {
47 <            thrown new ComponentStartException("Unable to obtain configuration for component");
47 >            throw new ComponentStartException("Unable to obtain configuration for component");
48          }
49          else {
50              try {
# Line 52 | Line 52 | public class ClientInterfaceMain implements Component
52                  ourName = config.getProperty("RootFilter.realtimeInterfaceName");
53                  listenPort = Integer.parseInt(config.getProperty("ClientInterface.listenPort"));
54              } catch (org.omg.CORBA.MARSHAL e) {
55 <                thrown new ComponentStartException("Unable to obtain requried configuration property for component");
55 >                throw new ComponentStartException("Unable to obtain requried configuration property for component");
56              }
57          }
58          
# Line 73 | Line 73 | public class ClientInterfaceMain implements Component
73          // Startup the TCPListener
74          TCPClientListener tcpClientListener = new TCPClientListener(listenPort, ps);
75          tcpClientListener.start();
76 +        
77 +        // Startup the CORBA Listener
78 +        _logger.write(toString(), Logger.DEBUG, "starting servant for inbound clients");
79 +        CorbaClientListenerServant corbaServant = new CorbaClientListenerServant(ps);
80 +        // !!! verify this name is correct at some point !!!
81 +        _refman.bindToOrb(corbaServant, "iscream.ClientInterface.CorbaListener");
82          
83          _logger.write(toString(), Logger.SYSINIT, "started");
84      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines