31. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/25/2018 9:21:42 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

31.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\ZIP\DSM-cif\Direct Implementation\java\dns\src\main\java\org\nhindirect\dns DNSServerSettings.java Tue May 22 13:36:04 2018 UTC
2 C:\AraxisMergeCompare\Pri_re\ZIP\DSM-cif\Direct Implementation\java\dns\src\main\java\org\nhindirect\dns DNSServerSettings.java Wed May 23 18:52:39 2018 UTC

31.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 210
Changed 1 2
Inserted 0 0
Removed 0 0

31.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

31.4 Active regular expressions

No regular expressions were active.

31.5 Comparison detail

  1   /* 
  2    Copyright  (c) 2010,  Direct Pr oject
  3    All right s reserved .
  4  
  5    Authors:
  6       Umesh  Madan      umeshma@mi crosoft.co m
  7       Chris  Lomonico   chris.lomo nico@sures cripts.com
  8       Greg M eyer       gm2552@cer ner.com
  9    
  10   Redistribu tion and u se in sour ce and bin ary forms,  with or w ithout mod ification,  are permi tted provi ded that t he followi ng conditi ons are me t:
  11  
  12   Redistribu tions of s ource code  must reta in the abo ve copyrig ht notice,  this list  of condit ions and t he followi ng disclai mer.
  13   Redistribu tions in b inary form  must repr oduce the  above copy right noti ce, this l ist of con ditions an d the foll owing disc laimer in  the docume ntation an d/or other  materials  provided  with the d istributio n.
  14   Neither th e name of  The Direct  Project ( directproj ect.org) n or the nam es of its  contributo rs may be  used to en dorse or p romote pro ducts deri ved from t his softwa re without  specific  prior writ ten permis sion.
  15   THIS SOFTW ARE IS PRO VIDED BY T HE COPYRIG HT HOLDERS  AND CONTR IBUTORS "A S IS" AND  ANY EXPRES S OR IMPLI ED WARRANT IES, INCLU DING, BUT  NOT LIMITE D TO, THE  IMPLIED WA RRANTIES O F MERCHANT ABILITY AN D FITNESS  FOR A PART ICULAR PUR POSE ARE D ISCLAIMED.  IN NO EVE NT SHALL T HE COPYRIG HT HOLDER  OR CONTRIB UTORS BE L IABLE FOR  ANY DIRECT , INDIRECT , INCIDENT AL, SPECIA L, EXEMPLA RY, OR CON SEQUENTIAL  DAMAGES ( INCLUDING,  BUT NOT L IMITED TO,  PROCUREME NT OF SUBS TITUTE GOO DS OR SERV ICES; LOSS  OF USE, D ATA, OR PR OFITS; OR  BUSINESS I NTERRUPTIO N) HOWEVER  CAUSED AN D ON ANY T HEORY OF L IABILITY,  WHETHER IN  CONTRACT,  STRICT LI ABILITY, O R TORT (IN CLUDING NE GLIGENCE O R OTHERWIS E) ARISING  IN ANY WA Y OUT OF T HE USE OF  THIS SOFTW ARE, EVEN  IF ADVISED  OF THE PO SSIBILITY  OF SUCH DA MAGE.
  16   */
  17  
  18   package or g.nhindire ct.dns;
  19  
  20  
  21   /**
  22    * Tuning  parameters  for the D NS server.
  23    * 
  24    * @author  Greg Meye r
  25    * @author  Umesh Mad an
  26    * @author  Chris Lom onico
  27    *
  28    * @since  1.0
  29    */
  30   public cla ss DNSServ erSettings  extends S ocketServe rSettings
  31   {
  32           pr ivate stat ic final i nt DEFAULT _PORT =  PORT ;
  33           pr ivate stat ic final S tring DEFA ULT_BIND_A DDRESS = " 0.0.0.0";  // bind to  all adapt ers
  34           pu blic  stat ic final i nt DAFAULT _MAX_REQUE ST_SIZE =  1024 * 16;
  35           
  36           pr ivate int  port;
  37           pr ivate Stri ng bindAdd ress;
  38           pr ivate int  maxRequest Size;
  39           
  40           /* *
  41            *  Create de fault DNS  server set tings
  42            * /
  43           pu blic DNSSe rverSettin gs()
  44           {
  45                    supe r();
  46                    port  = DEFAULT _PORT;
  47                    bind Address =  DEFAULT_BI ND_ADDRESS ;
  48                    maxR equestSize  = DAFAULT _MAX_REQUE ST_SIZE;
  49           }
  50  
  51           /* *
  52            *  Gets the  IP port th at the ser ver will b e listenin g on.  The  default i s 53.
  53            *  @return T he IP port  that the  server wil l be liste ning on.
  54            * /
  55           pu blic int g etPort() 
  56           {
  57                    retu rn port;
  58           }
  59  
  60           /* *
  61            *  Sets the  IP port th at the ser ver will b e listenin g on.
  62            *  @param po rt The IP  port that  the server  will be l istening o n.
  63            *  
  64            * /
  65           pu blic void  setPort(in t port) 
  66           {
  67                    this .port = po rt;
  68           }
  69  
  70           /* *
  71            *  Gets the  IP4 addres ses that t he server  will be bo und to.  T he string  is comma d elimited l ist of IP  addresses.   The defa ult is 0.0 .0.0 
  72            *  which mea ns that th e server w ill bind t o add IP a ddresses a vailable o n the loca l machine.   
  73            *  @return T he IP4 add resses tha t the serv er will be  bound to.
  74            * /
  75           pu blic Strin g getBindA ddress() 
  76           {
  77                    retu rn bindAdd ress;
  78           }
  79  
  80           /* *
  81            *  Sets the  IP4 addres ses that t he server  will be bo und to.
  82            *  @param bi ndAddress  The IP4 ad dresses th at the ser ver will b e bound to .
  83            * /
  84           pu blic void  setBindAdd ress(Strin g bindAddr ess) 
  85           {
  86                    this .bindAddre ss = bindA ddress;
  87           }        
  88           
  89           /* *
  90            *  Gets the  maximum si ze in byte s of a req uest.  The  default s ize is 16K .
  91            *  @return T he maximum  size in b ytes of a  request.
  92            * /
  93           pu blic int g etMaxReque stSize()
  94           {
  95                    retu rn maxRequ estSize;
  96           }
  97  
  98           /* *
  99            *  Sets the  maximum si ze in byte s of a req uest.
  100            *  @param ma xRequestSi ze The max imum size  in bytes o f a reques t.
  101            * /
  102           pu blic void  setMaxRequ estSize(in t maxReque stSize)
  103           {
  104                    this .maxReques tSize = ma xRequestSi ze;
  105           }
  106   }