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. |