private void notifyListeners(String received) {
if (isTelemetryLine(received)) {
// RPCMessage message = new RPCMessage(getKey(received),
// getData(received));
RPCMessage message = decode(received);
// System.out.println(message);
// TODO only notify specific 'keyed' listeners
for (Enumeration e = listeners.elements(); e.hasMoreElements();) {
((RPCMessageListener) e.nextElement()).messageReceived(message);
}