Пример #1
0
 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);
 }
Пример #2
0
 public void sendTargetSignal(final Word targetSignal) {
   driver.send(targetSignal);
 }