Exemple #1
0
 @Override
 public void writeImpl(ByteQueue queue) {
   queue.push((byte) hour);
   queue.push((byte) minute);
   queue.push((byte) second);
   queue.push((byte) hundredth);
 }
 @Override
 protected void writeRequest(ByteQueue queue) {
   ModbusUtils.pushShort(queue, startOffset);
   ModbusUtils.pushShort(queue, numberOfBits);
   ModbusUtils.pushByte(queue, data.length);
   queue.push(data);
 }
Exemple #3
0
 @Override
 public void write(ByteQueue queue) {
   queue.push(choice);
   write(queue, error, 0);
   writeOptional(queue, listOfVTSessionIdentifiers, 1);
 }
Exemple #4
0
 @Override
 public void write(ByteQueue queue) {
   queue.push(choice);
   write(queue, error);
 }