Searched defs:BYTESPEROP (Results 1 - 3 of 3) sorted by relevance
/openjdk7/jdk/src/solaris/demo/jni/Poller/ |
H A D | Client.java | 47 private final static int BYTESPEROP= PollingServer.BYTESPEROP; field in class:Client 99 byte[] buff = new byte[BYTESPEROP]; 100 for (int i = 0; i < BYTESPEROP; i++) // just put some junk in! 104 while (sends < bytesToSend/BYTESPEROP) { 106 sockArr[idx].getOutputStream().write(buff,0,BYTESPEROP); 110 int bytes = ctrlSock.getInputStream().read(buff, 0, BYTESPEROP); 112 " Bytes sent : " + sends * BYTESPEROP +
|
H A D | SimpleServer.java | 51 private final static int BYTESPEROP= PollingServer.BYTESPEROP; field in class:SimpleServer 111 byte[] buff = new byte[BYTESPEROP]; 112 ctrlSock.getOutputStream().write(buff,0,BYTESPEROP); 134 byte[] buff = new byte[BYTESPEROP]; 137 bytes = instr.read (buff, 0, BYTESPEROP);
|
H A D | PollingServer.java | 62 public final static int BYTESPEROP = 10; field in class:PollingServer 190 byte[] buff = new byte[BYTESPEROP]; 191 ctrlSock.getOutputStream().write(buff,0,BYTESPEROP); 226 byte[] buff = new byte[BYTESPEROP]; 244 bytes = instream.read(buff,0,BYTESPEROP);
|
Completed in 30 milliseconds