/** * Writes a byte array field to the stream message. <p/> * <P> * The byte array <code>value</code> is written to the message as a byte * array field. Consecutively written byte array fields are treated as two * distinct fields when the fields are read. * * @param value the byte array value to be written * @throws JMSException if the JMS provider fails to write the message due * to some internal error. * @throws MessageNotWriteableException if the message is in read-only mode. */ @Override public void writeBytes(byte[] value) throws JMSException { writeBytes(value, 0, value.length); }
writeDouble(((Double)value).doubleValue()); } else if (value instanceof byte[]) { writeBytes((byte[])value); }else if (value instanceof Long) { writeLong(((Long)value).longValue());
/** * Writes a byte array field to the stream message. <p/> * <P> * The byte array <code>value</code> is written to the message as a byte * array field. Consecutively written byte array fields are treated as two * distinct fields when the fields are read. * * @param value the byte array value to be written * @throws JMSException if the JMS provider fails to write the message due * to some internal error. * @throws MessageNotWriteableException if the message is in read-only mode. */ @Override public void writeBytes(byte[] value) throws JMSException { writeBytes(value, 0, value.length); }
/** * Writes a byte array field to the stream message. <p/> * <P> * The byte array <code>value</code> is written to the message as a byte * array field. Consecutively written byte array fields are treated as two * distinct fields when the fields are read. * * @param value the byte array value to be written * @throws JMSException if the JMS provider fails to write the message due * to some internal error. * @throws MessageNotWriteableException if the message is in read-only mode. */ @Override public void writeBytes(byte[] value) throws JMSException { writeBytes(value, 0, value.length); }
/** * Writes a byte array field to the stream message. <p/> * <P> * The byte array <code>value</code> is written to the message as a byte * array field. Consecutively written byte array fields are treated as two * distinct fields when the fields are read. * * @param value the byte array value to be written * @throws JMSException if the JMS provider fails to write the message due * to some internal error. * @throws MessageNotWriteableException if the message is in read-only mode. */ @Override public void writeBytes(byte[] value) throws JMSException { writeBytes(value, 0, value.length); }
/** * Writes a byte array field to the stream message. <p/> * <P> * The byte array <code>value</code> is written to the message as a byte * array field. Consecutively written byte array fields are treated as two * distinct fields when the fields are read. * * @param value the byte array value to be written * @throws JMSException if the JMS provider fails to write the message due * to some internal error. * @throws MessageNotWriteableException if the message is in read-only mode. */ public void writeBytes(byte[] value) throws JMSException { writeBytes(value, 0, value.length); }
writeDouble(((Double)value).doubleValue()); } else if (value instanceof byte[]) { writeBytes((byte[])value); }else if (value instanceof Long) { writeLong(((Long)value).longValue());
writeDouble(((Double)value).doubleValue()); } else if (value instanceof byte[]) { writeBytes((byte[])value); }else if (value instanceof Long) { writeLong(((Long)value).longValue());
writeDouble(((Double)value).doubleValue()); } else if (value instanceof byte[]) { writeBytes((byte[])value); }else if (value instanceof Long) { writeLong(((Long)value).longValue());
writeDouble(((Double)value).doubleValue()); } else if (value instanceof byte[]) { writeBytes((byte[])value); }else if (value instanceof Long) { writeLong(((Long)value).longValue());