예제 #1
0
 public void dataEventOccurred(UsbPipeDataEvent updE) {
   Assert.assertNotNull(updE);
   inPipeEvents.add(updE);
   printDebug("IN Length:  " + updE.getUsbIrp().getLength());
   printDebug("IN actualLength:  " + updE.getUsbIrp().getActualLength());
   printDebug("IN acceptShortPackets:  " + updE.getUsbIrp().getAcceptShortPacket());
   printDebug("IN data event.");
 }
예제 #2
0
 public void dataEventOccurred(UsbPipeDataEvent updE) {
   Assert.assertNotNull(updE);
   outPipeEvents.add(updE);
   printDebug("OUT actualLength:  " + updE.getUsbIrp().getActualLength());
   printDebug("OUT data event.");
 }