203204205206207208209210211212
public double readDouble() throws OpenwireException { initializeReading(); try { return this.dataIn.readDouble(); } catch (EOFException e) { throw new OpenwireException(e); } catch (IOException e) { throw new OpenwireException(e); } }
214215216217218219220221222223
public String readUTF() throws OpenwireException { initializeReading(); try { return this.dataIn.readUTF(); } catch (EOFException e) { throw new OpenwireException(e); } catch (IOException e) { throw new OpenwireException(e); } }
240241242243244245246247248249
if (n == 0 && length > 0) { n = -1; } return n; } catch (EOFException e) { throw new OpenwireException(e); } catch (IOException e) { throw new OpenwireException(e); } }
251252253254255256257258
public void writeBoolean(boolean value) throws OpenwireException { initializeWriting(); try { this.dataOut.writeBoolean(value); } catch (IOException ioe) { throw new OpenwireException(ioe); } }
260261262263264265266267
public void writeByte(byte value) throws OpenwireException { initializeWriting(); try { this.dataOut.writeByte(value); } catch (IOException ioe) { throw new OpenwireException(ioe); } }
269270271272273274275276
public void writeShort(short value) throws OpenwireException { initializeWriting(); try { this.dataOut.writeShort(value); } catch (IOException ioe) { throw new OpenwireException(ioe); } }
278279280281282283284285
public void writeChar(char value) throws OpenwireException { initializeWriting(); try { this.dataOut.writeChar(value); } catch (IOException ioe) { throw new OpenwireException(ioe); } }
287288289290291292293294
public void writeInt(int value) throws OpenwireException { initializeWriting(); try { this.dataOut.writeInt(value); } catch (IOException ioe) { throw new OpenwireException(ioe); } }
296297298299300301302303
public void writeLong(long value) throws OpenwireException { initializeWriting(); try { this.dataOut.writeLong(value); } catch (IOException ioe) { throw new OpenwireException(ioe); } }
305306307308309310311312
public void writeFloat(float value) throws OpenwireException { initializeWriting(); try { this.dataOut.writeFloat(value); } catch (IOException ioe) { throw new OpenwireException(ioe); } }