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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/ClientMain.java (file contents):
Revision 1.15 by tdb, Wed Mar 14 23:25:29 2001 UTC vs.
Revision 1.16 by tdb, Thu Mar 15 22:12:22 2001 UTC

# Line 42 | Line 42 | public class ClientMain implements Component {
42          _logger = _refman.getLogger();
43  
44          _logger.write(toString(), Logger.SYSINIT, "coming up");
45            
46        // configuration variables we require
47        int queueMonitorInterval = 0;
45          
49        Configuration config = _refman.getCM().getConfiguration("LocalClient");
50        if (config == null) {
51            throw new ComponentStartException("Unable to obtain configuration for component");
52        }
53        else {
54            try {
55                // get the configuration properties we need
56                queueMonitorInterval = Integer.parseInt(config.getProperty("Queue.MonitorInterval"));
57            } catch (org.omg.CORBA.MARSHAL e) {
58                throw new ComponentStartException("Unable to obtain requried configuration property for component");
59            }
60        }
61              
62        _logger.write(toString(), Logger.SYSINIT, "configured");
63        
46          // setup the queues, this must be done before both managers are setup
65        String queueName;
47          // setup a Queue for the servant -> monitor manager
48          _monitorQueue = new Queue();
68        
49          // setup a Queue for the monitors -> alert manager
50          _alerterQueue = new Queue();
71        
72        
51          
52          // setup the servant and connect
53          _logger.write(toString(), Logger.SYSINIT, "starting servant and connecting");          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines