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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filter/UDPReader.java (file contents):
Revision 1.19 by tdb, Tue Mar 19 17:22:12 2002 UTC vs.
Revision 1.20 by tdb, Wed Mar 20 12:56:37 2002 UTC

# Line 58 | Line 58 | public class UDPReader extends Thread{
58       */
59      public void run() {
60          // get our ACL from the configuration
61 <        ACL udpACL = null;
61 >        ACL acl = null;
62          try {
63              String stringACL = ConfigurationProxy.getInstance().getProperty(FilterMain.NAME, "Filter.UDPACL");
64 <            udpACL = new ACL(stringACL);
64 >            acl = new ACL(stringACL);
65          }
66          catch(PropertyNotFoundException e) {
67              _logger.write(toString(), Logger.WARNING, "No ACL found for UDPReader: " + e);
# Line 71 | Line 71 | public class UDPReader extends Thread{
71          DatagramSocket socket = null;
72          try {
73              // use an ACLServerSocket if we have an ACL
74 <                        if(udpACL != null) {
75 <                            socket = new ACLDatagramSocket(udpACL, _port);
74 >                        if(acl != null) {
75 >                            socket = new ACLDatagramSocket(acl, _port);
76                          }
77                          else {
78                  socket = new DatagramSocket(_port);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines