コード例 #1
0
ファイル: Processor.java プロジェクト: cerijerome/ceri
 /** Reads input from the device and dispatches the result to the command listener. */
 private void processInputData() throws IOException {
   out.write(Protocol.PC_READY.value);
   out.flush();
   InputBuffer buffer = InputBuffer.readFrom(in);
   dispatcher.dispatch(buffer.entries);
 }