use of jmri.jmrix.can.adapters.gridconnect.GridConnectMessage in project JMRI by JMRI.
the class HubPane method reply.
@Override
public synchronized void reply(CanReply reply) {
if (reply != workingReply) {
GridConnectMessage gm = new GridConnectMessage(new CanMessage(reply));
if (log.isDebugEnabled()) {
log.debug("reply " + gm.toString());
}
hub.putLine(gm.toString());
}
}
use of jmri.jmrix.can.adapters.gridconnect.GridConnectMessage in project JMRI by JMRI.
the class HubPane method message.
@Override
public synchronized void message(CanMessage l) {
// receive a message and log it
GridConnectMessage gm = new GridConnectMessage(l);
if (log.isDebugEnabled()) {
log.debug("message " + gm.toString());
}
hub.putLine(gm.toString());
}
Aggregations