Lines Matching full:data
42 send(byte [] data) throws IOException {
44 verboseLog("TCP write", data);
46 lengthArray[0] = (byte)(data.length >>> 8);
47 lengthArray[1] = (byte)(data.length & 0xFF);
50 buffers[1] = ByteBuffer.wrap(data);
54 while (nsent < data.length + 2) {
60 if (nsent < data.length + 2 &&
77 byte [] data = new byte[length];
78 ByteBuffer buffer = ByteBuffer.wrap(data);
98 return data;
105 byte [] data = _recv(length);
106 verboseLog("TCP read", data);
107 return data;
111 sendrecv(SocketAddress local, SocketAddress remote, byte [] data, long endTime)
119 client.send(data);
128 sendrecv(SocketAddress addr, byte [] data, long endTime) throws IOException {
129 return sendrecv(null, addr, data, endTime);