public void sendServiceSignal(final Word serviceSignal) { StringBuffer service = new StringBuffer(serviceSignal.getWord()); StringBuffer signal = new StringBuffer(service.substring(4)) .append(nodeId) .append(service.substring(4, service.length())); serviceSignal.setWord(signal.toString()); driver.send(serviceSignal); }
public void sendTargetSignal(final Word targetSignal) { driver.send(targetSignal); }