707172737475767778
buffer.send(conn); strm.flush(); } catch (IOException ioe) { jpvmDebug.note("jpvmMessage, send - i/o exception"); throw new jpvmException("jpvmMessage, send - " + "i/o exception"); } }
888990919293949596
buffer = new jpvmBuffer(); buffer.recv(conn); } catch (IOException ioe) { jpvmDebug.note("jpvmMessage, recv - i/o exception"); throw new jpvmException("jpvmMessage, recv - " + "i/o exception"); } }
267268269270271272273274275276277
} public void unpack(int d[], int n, int stride) throws jpvmException { if(dataType != jpvmDataType.jpvmInteger) { throw new jpvmException("buffer type mismatch, upkint."); } if(stride==1) { System.arraycopy(intArray,0,d,0,n); } else {
281282283284285286287288289290291
} } public void unpack(short d[], int n, int stride) throws jpvmException { if(dataType != jpvmDataType.jpvmShort) { throw new jpvmException("buffer type mismatch, upkshort."); } if(stride==1) { System.arraycopy(shortArray,0,d,0,n); } else {
295296297298299300301302303304305
} } public void unpack(byte d[], int n, int stride) throws jpvmException { if(dataType != jpvmDataType.jpvmByte) { throw new jpvmException("buffer type mismatch, upkbyte."); } if(stride==1) System.arraycopy(byteArray,0,d,0,n); else { int i,j;
308309310311312313314315316317318
} } public void unpack(char d[], int n, int stride) throws jpvmException { if(dataType != jpvmDataType.jpvmChar) { throw new jpvmException("buffer type mismatch, upkchar."); } if(stride==1) { System.arraycopy(charArray,0,d,0,n); } else {
322323324325326327328329330331332
} } public void unpack(long d[], int n, int stride) throws jpvmException { if(dataType != jpvmDataType.jpvmLong) { throw new jpvmException("buffer type mismatch, upklong."); } if(stride==1) { System.arraycopy(longArray,0,d,0,n); } else {
336337338339340341342343344345346
} } public void unpack(double d[], int n, int stride) throws jpvmException { if(dataType != jpvmDataType.jpvmDouble) { throw new jpvmException("buffer type mismatch, upkdouble."); } if(stride==1) { System.arraycopy(doubleArray,0,d,0,n); } else {
350351352353354355356357358359360
} } public void unpack(float d[], int n, int stride) throws jpvmException { if(dataType != jpvmDataType.jpvmFloat) { throw new jpvmException("buffer type mismatch, upkfloat."); } if(stride==1) { System.arraycopy(floatArray,0,d,0,n); } else {
365366367368369370371372373374375
} public void unpack(jpvmTaskId d[], int n, int stride) throws jpvmException { if(dataType != jpvmDataType.jpvmTid) { throw new jpvmException("buffer type mismatch, upktid."); } if(stride==1) { System.arraycopy(taskArray,0,d,0,n); } else {