コード例 #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);
 }