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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/RootFilter.java (file contents):
Revision 1.36 by tdb, Fri Mar 23 05:26:52 2001 UTC vs.
Revision 1.37 by tdb, Fri Mar 23 05:30:44 2001 UTC

# Line 119 | Line 119 | public class RootFilter implements Component {
119              _logger.write(toString(), Logger.WARNING, "failed to find queue monitor config, disabling. " + e);
120          }
121          
122 <        if (realInterface == null) {        
122 >        if (realInterface != null && dbInterface != null) {
123 >            _logger.write(toString(), Logger.DEBUG, "hooked to interfaces - " + realInterface + " & " + dbInterface);
124 >            CIWrapper c = new CIWrapper(ciReal, queue);
125 >            c.start();
126 >            c = new CIWrapper(ciDB, queue);
127 >            c.start();
128 >        } else if (realInterface == null) {        
129              _logger.write(toString(), Logger.DEBUG, "hooked to interfaces - " + dbInterface);
130              CIWrapper c = new CIWrapper(ciDB, queue);
131              c.start();
# Line 128 | Line 134 | public class RootFilter implements Component {
134              CIWrapper c = new CIWrapper(ciReal, queue);
135              c.start();
136          } else {
137 <            _logger.write(toString(), Logger.DEBUG, "hooked to interfaces - " + realInterface + " & " + dbInterface);
132 <            CIWrapper c = new CIWrapper(ciReal, queue);
133 <            c.start();
134 <            c = new CIWrapper(ciDB, queue);
135 <            c.start();
137 >            _logger.write(toString(), Logger.WARNING, "not hooked to any client interfaces, this is probably not intentional!");
138          }
139                  
140          // RootFilterServant start (for inbound child filter data)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines