/** * Writes a <code>byte</code> to the stream message. * * @param value the <code>byte</code> 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 writeByte(byte value) throws JMSException { initializeWriting(); try { MarshallingSupport.marshalByte(dataOut, value); } catch (IOException ioe) { throw JMSExceptionSupport.create(ioe); } }
marshalBoolean(out, ((Boolean)value).booleanValue()); } else if (value.getClass() == Byte.class) { marshalByte(out, ((Byte)value).byteValue()); } else if (value.getClass() == Character.class) { marshalChar(out, ((Character)value).charValue());
marshalBoolean(out, ((Boolean)value).booleanValue()); } else if (value.getClass() == Byte.class) { marshalByte(out, ((Byte)value).byteValue()); } else if (value.getClass() == Character.class) { marshalChar(out, ((Character)value).charValue());
/** * Writes a <code>byte</code> to the stream message. * * @param value the <code>byte</code> 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 writeByte(byte value) throws JMSException { initializeWriting(); try { MarshallingSupport.marshalByte(dataOut, value); } catch (IOException ioe) { throw JMSExceptionSupport.create(ioe); } }
marshalBoolean(out, ((Boolean)value).booleanValue()); } else if (value.getClass() == Byte.class) { marshalByte(out, ((Byte)value).byteValue()); } else if (value.getClass() == Character.class) { marshalChar(out, ((Character)value).charValue());
/** * Writes a <code>byte</code> to the stream message. * * @param value the <code>byte</code> 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 writeByte(byte value) throws JMSException { initializeWriting(); try { MarshallingSupport.marshalByte(dataOut, value); } catch (IOException ioe) { throw JMSExceptionSupport.create(ioe); } }
marshalBoolean(out, ((Boolean)value).booleanValue()); } else if (value.getClass() == Byte.class) { marshalByte(out, ((Byte)value).byteValue()); } else if (value.getClass() == Character.class) { marshalChar(out, ((Character)value).charValue());
/** * Writes a <code>byte</code> to the stream message. * * @param value the <code>byte</code> 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 writeByte(byte value) throws JMSException { initializeWriting(); try { MarshallingSupport.marshalByte(dataOut, value); } catch (IOException ioe) { throw JMSExceptionSupport.create(ioe); } }
marshalBoolean(out, ((Boolean)value).booleanValue()); } else if (value.getClass() == Byte.class) { marshalByte(out, ((Byte)value).byteValue()); } else if (value.getClass() == Character.class) { marshalChar(out, ((Character)value).charValue());
/** * Writes a <code>byte</code> to the stream message. * * @param value the <code>byte</code> 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 writeByte(byte value) throws JMSException { initializeWriting(); try { MarshallingSupport.marshalByte(dataOut, value); } catch (IOException ioe) { throw JMSExceptionSupport.create(ioe); } }
break; case DataConstants.BYTE: MarshallingSupport.marshalByte(dataOut, buffer.readByte()); break; case DataConstants.BYTES: