com.latencybusters.jms.message
Class JMSBytesMessage

java.lang.Object
  extended by com.latencybusters.jms.message.JMSMessage
      extended by com.latencybusters.jms.message.JMSBytesMessage

public class JMSBytesMessage
extends JMSMessage


Field Summary
 
Fields inherited from class com.latencybusters.jms.message.JMSMessage
data, dataMsg, DEFAULT_LENGTH, GROUP_ID, GROUP_SEQ, header
 
Constructor Summary
JMSBytesMessage()
           
JMSBytesMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data)
           
JMSBytesMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data, boolean readOnly, boolean readOnlyProps)
           
 
Method Summary
 void checkSize(int size)
           
 void clearBody()
           
 JMSBytesMessage copy()
           
 long getBodyLength()
           
 byte[] getData()
           
 int getMessageType()
           
 boolean readBoolean()
           
 byte readByte()
           
 int readBytes(byte[] value)
           
 int readBytes(byte[] value, int length)
           
 char readChar()
           
 double readDouble()
           
 float readFloat()
           
 int readInt()
           
 long readLong()
           
 short readShort()
           
 int readUnsignedByte()
           
 int readUnsignedShort()
           
 java.lang.String readUTF()
           
 void reset()
           
 void setData(byte[] d)
           
 void writeBoolean(boolean value)
           
 void writeByte(byte value)
           
 void writeBytes(byte[] value)
           
 void writeBytes(byte[] value, int offset, int length)
           
 void writeChar(char value)
           
 void writeDouble(double value)
           
 void writeFloat(float value)
           
 void writeInt(int value)
           
 void writeLong(long value)
           
 void writeObject(java.lang.Object value)
           
 void writeShort(short value)
           
 void writeUTF(java.lang.String value)
           
 void writeUTFShort(short value)
           
 
Methods inherited from class com.latencybusters.jms.message.JMSMessage
ack, acknowledge, checkReadOnlyBody, checkValidObject, clearProperties, copy, copyProps, dumpProps, equals, getAcked, getAcknowledgeMode, getBooleanProperty, getByteProperty, getConsumer, getDataMsg, getDefaultDeliveryMode, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getJMSXMimeType, getListener, getLongProperty, getObjectProperty, getPropertyNames, getProps, getRefCount, getShortProperty, getStringProperty, getTopicName, isExpired, isReadOnly, isReadOnlyProps, isShouldAck, isValid, logProps, main, onSend, propertyExists, reAssign, setAcked, setAcknowledgeCallback, setAcknowledgeMode, setBooleanProperty, setBooleanProperty, setByteProperty, setConsumer, setDataMsg, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setListener, setLongProperty, setObjectProperty, setObjectProperty, setProperties, setReadOnly, setReadOnlyProps, setRefCount, setShortProperty, setShouldAck, setStringProperty, setTopicname, verifySet
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSBytesMessage

public JMSBytesMessage()

JMSBytesMessage

public JMSBytesMessage(com.latencybusters.lbm.LBMMessageProperties props,
                       byte[] data)

JMSBytesMessage

public JMSBytesMessage(com.latencybusters.lbm.LBMMessageProperties props,
                       byte[] data,
                       boolean readOnly,
                       boolean readOnlyProps)
Method Detail

getData

public byte[] getData()
Overrides:
getData in class JMSMessage

setData

public void setData(byte[] d)

copy

public JMSBytesMessage copy()
Overrides:
copy in class JMSMessage

clearBody

public void clearBody()
               throws javax.jms.JMSException
Overrides:
clearBody in class JMSMessage
Throws:
javax.jms.JMSException

getBodyLength

public long getBodyLength()
Overrides:
getBodyLength in class JMSMessage

readBoolean

public boolean readBoolean()
                    throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readByte

public byte readByte()
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readBytes

public int readBytes(byte[] value)
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readBytes

public int readBytes(byte[] value,
                     int length)
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readChar

public char readChar()
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readDouble

public double readDouble()
                  throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readFloat

public float readFloat()
                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readInt

public int readInt()
            throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readLong

public long readLong()
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readShort

public short readShort()
                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readUnsignedByte

public int readUnsignedByte()
                     throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readUnsignedShort

public int readUnsignedShort()
                      throws javax.jms.JMSException
Throws:
javax.jms.JMSException

readUTF

public java.lang.String readUTF()
                         throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeBoolean

public void writeBoolean(boolean value)
                  throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeByte

public void writeByte(byte value)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeBytes

public void writeBytes(byte[] value)
                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeBytes

public void writeBytes(byte[] value,
                       int offset,
                       int length)
                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeChar

public void writeChar(char value)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeDouble

public void writeDouble(double value)
                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeFloat

public void writeFloat(float value)
                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeInt

public void writeInt(int value)
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeLong

public void writeLong(long value)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeObject

public void writeObject(java.lang.Object value)
                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeShort

public void writeShort(short value)
                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeUTFShort

public void writeUTFShort(short value)
                   throws javax.jms.JMSException
Throws:
javax.jms.JMSException

writeUTF

public void writeUTF(java.lang.String value)
              throws javax.jms.JMSException
Throws:
javax.jms.JMSException

reset

public void reset()

checkSize

public void checkSize(int size)

getMessageType

public int getMessageType()
Overrides:
getMessageType in class JMSMessage


All of the documentation and software included in this and any other Informatica, Inc. "Ultra Messaging" Release is Copyright (C) 2004-2014, Informatica Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with Informatica Inc. Copyright © 2004-2014, Informatica, Inc. All Rights Reserved.