comparison src/fdl/test/TestPSXLinda.java @ 93:a1d796c0e975 fuchita

Wait Read Tester
author one
date Tue, 25 May 2010 22:57:54 +0900
parents 82a292aa41ad
children 0ea086f0e96f
comparison
equal deleted inserted replaced
83:226c97efb693 93:a1d796c0e975
82 } catch (IOException e) { 82 } catch (IOException e) {
83 System.err.println("Communication failure."); 83 System.err.println("Communication failure.");
84 } 84 }
85 } 85 }
86 86
87 public static void print_id (PSXReply ans) { 87 public static void print_id (PSXReply ans) throws IOException {
88 ByteBuffer r = ans.getData(); 88 ByteBuffer r = ans.getData();
89 id = r.getShort();
90 System.out.print("ID = "); 89 System.out.print("ID = ");
91 System.out.println(id); 90 System.out.write(r.array());
92 } 91 }
93 } 92 }
94 93