// Deal with being called as e.g. "message::eos"
//
if (signal.contains("::")) {
signal = signal.substring(signal.lastIndexOf("::") + 2);
}
connect(signal, MESSAGE.class, listener, new BusCallback() {
public boolean callback(Bus bus, Message msg, Pointer user_data) {
listener.busMessage(bus, msg);
return true;
}
});