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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filter/FilterThread.java (file contents):
Revision 1.31 by tdb, Fri Mar 16 00:17:04 2001 UTC vs.
Revision 1.34 by tdb, Fri Mar 22 16:42:54 2002 UTC

# Line 1 | Line 1
1   //---PACKAGE DECLARATION---
2 < package uk.org.iscream.filter;
2 > package uk.org.iscream.cms.server.filter;
3  
4   //---IMPORTS---
5   import java.io.*;
6   import java.net.*;
7   import java.util.*;
8 < import uk.org.iscream.core.*;
9 < import uk.org.iscream.componentmanager.*;
10 < import uk.org.iscream.filter.*;
11 < import uk.org.iscream.util.*;
8 > import uk.org.iscream.cms.server.core.*;
9 > import uk.org.iscream.cms.server.componentmanager.*;
10 > import uk.org.iscream.cms.server.filter.*;
11 > import uk.org.iscream.cms.server.util.*;
12  
13   /**
14   * Handle an incoming packet as a separate thread.
# Line 76 | Line 76 | public class FilterThread extends Thread{
76              if (xml.indexOf(0) != -1) {
77                  xml = xml.substring(0, xml.indexOf(0));
78              }
79            else {
80                xml = xml.substring(0, xml.length());
81            }
79              
80              // Bundle the XML all on one line (saves space and simplifies
81              // the protocol between clientinterface and client).
# Line 100 | Line 97 | public class FilterThread extends Thread{
97              
98              // get parent
99              try {
100 <                String newParent = ConfigurationProxy.getInstance().getProperty(FilterMain.NAME, "Filter.parentFilter");
100 >                String newParent = ConfigurationProxy.getInstance().getProperty("Filter." + FilterMain.NAME, "Filter.parentFilter");
101                  if(!parentFilterName.equals(newParent)) {
102                      parentFilterName = newParent;
103                      parent = FilterHelper.narrow(_refman.getCORBARef("iscream.Filter." + parentFilterName));
# Line 126 | Line 123 | public class FilterThread extends Thread{
123       * Overrides the {@link java.lang.Object#toString() Object.toString()}
124       * method to provide clean logging (every class should have this).
125       *
126 <     * This uses the uk.org.iscream.util.NameFormat class
126 >     * This uses the uk.org.iscream.cms.server.util.NameFormat class
127       * to format the toString()
128       *
129       * @return the name of this class and its CVS revision

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines