/[svn]/jsampler/trunk/src/org/jsampler/Server.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/Server.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1728 by iliev, Thu Feb 14 16:52:36 2008 UTC revision 1729 by iliev, Tue Apr 29 22:22:40 2008 UTC
# Line 79  public class Server extends Resource { Line 79  public class Server extends Resource {
79                  fireChangeEvent();                  fireChangeEvent();
80          }          }
81                    
82            /** Determines whether this server is on the local host. */
83            public boolean
84            isLocal() {
85                    if(getAddress() == null) return false;
86                    if("127.0.0.1".equals(getAddress())) return true;
87                    if("localhost".equals(getAddress())) return true;
88                    return false;
89            }
90            
91          /**          /**
92           * Reads and sets the the server information provided by <code>node</code>.           * Reads and sets the the server information provided by <code>node</code>.
93           * @param node The node providing the server information.           * @param node The node providing the server information.

Legend:
Removed from v.1728  
changed lines
  Added in v.1729

  ViewVC Help
Powered by ViewVC