45 |
|
while(_running) { |
46 |
|
|
47 |
|
String xml = (String) _dataQueue.get(_myQueue); |
48 |
< |
SwingClient.setQueueStatus(_dataQueue.queueSize(_myQueue), _dataQueue.elementCount()); |
48 |
> |
Conient.setQueueStatus(_dataQueue.queueSize(_myQueue), _dataQueue.elementCount()); |
49 |
|
if (xml == null) { |
50 |
|
// shouldn't really happen...but not sure |
51 |
|
//_status.insert("No XML to update...",0); |
69 |
|
HostDisplayPanel host = new HostDisplayPanel(); |
70 |
|
_tabbedPane.addTab(hostName, _serverIcon, host, "Monitor " + hostName); |
71 |
|
hostList.put(hostName, host); |
72 |
< |
SwingClient.addMessage("New Host added: " + hostName); |
72 |
> |
Conient.addMessage("New Host added: " + hostName); |
73 |
|
} |
74 |
|
if (!((HostDisplayPanel) hostList.get(hostName)).updateHost(packet)) { |
75 |
|
throw new Exception(hostName + " sent an invalid data packet stopping data update!"); |
77 |
|
} |
78 |
|
} |
79 |
|
} catch (Exception e) { |
80 |
< |
SwingClient.addMessage("ERROR: +" + e.getMessage()); |
80 |
> |
Conient.addMessage("ERROR: +" + e.getMessage()); |
81 |
|
} |
82 |
|
} |
83 |
|
|