56 |
|
_hostName = hostName; |
57 |
|
|
58 |
|
// check to config to see if we want extra data or not |
59 |
< |
if(Configuration.getInstance().getProperty("displayExtraData").equals("0")) { |
60 |
< |
extraData = false; |
59 |
> |
if(Configuration.getInstance().getProperty("displayExtraData").equals("1")) { |
60 |
> |
extraData = true; |
61 |
|
} |
62 |
|
try { |
63 |
|
_heartbeatTimer = new PacketTimer(Integer.parseInt(Configuration.getInstance().getProperty("Host.TCPUpdateTime"))); |
441 |
|
|
442 |
|
/** |
443 |
|
* Whether we a worrying about "extra" data |
444 |
< |
* by default we do, but we look in the configuration |
444 |
> |
* by default we don't, but we look in the configuration |
445 |
|
* in the constructor. |
446 |
|
*/ |
447 |
< |
private boolean extraData = true; |
447 |
> |
private boolean extraData = false; |
448 |
|
|
449 |
|
//---STATIC ATTRIBUTES--- |
450 |
|
|