com.latencybusters.jms.message
Class LBMStreamMessage
java.lang.Object
com.latencybusters.jms.message.LBMMessage
com.latencybusters.jms.message.LBMStreamMessage
- All Implemented Interfaces:
- javax.jms.Message, javax.jms.StreamMessage
public class LBMStreamMessage
- extends LBMMessage
- implements javax.jms.StreamMessage
Fields inherited from interface javax.jms.Message |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Methods inherited from class com.latencybusters.jms.message.LBMMessage |
ack, acknowledge, checkReadOnlyBody, checkRef, clearProperties, dispatch, dumpProps, equals, getBooleanProperty, getByteProperty, getConsumer, getDataMsg, getDefaultDeliveryMode, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getJMSXMimeType, getLongProperty, getObjectProperty, getPropertyNames, getProps, getRefCount, getShortProperty, getStringProperty, getTopicName, isExpired, isReadOnly, isShouldAck, logProps, onSend, propertyExists, reAssign, 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, setRefCount, setShortProperty, setShouldAck, setStringProperty, setTopicname |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.Message |
acknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty |
LBMStreamMessage
public LBMStreamMessage()
LBMStreamMessage
public LBMStreamMessage(JMSStreamMessage m)
LBMStreamMessage
public LBMStreamMessage(com.latencybusters.lbm.LBMMessageProperties props,
byte[] data)
getMessageType
public int getMessageType()
- Overrides:
getMessageType
in class LBMMessage
getData
public byte[] getData()
- Overrides:
getData
in class LBMMessage
copy
public LBMMessage copy()
- Overrides:
copy
in class LBMMessage
setData
public void setData(byte[] d)
clearBody
public void clearBody()
throws javax.jms.JMSException
- Specified by:
clearBody
in interface javax.jms.Message
- Overrides:
clearBody
in class LBMMessage
- Throws:
javax.jms.JMSException
getBodyLength
public long getBodyLength()
- Overrides:
getBodyLength
in class LBMMessage
readValue
public java.lang.Object readValue(byte dataType,
int otype)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
readBoolean
public boolean readBoolean()
throws javax.jms.JMSException
- Specified by:
readBoolean
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
readByte
public byte readByte()
throws javax.jms.JMSException
- Specified by:
readByte
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
readBytes
public int readBytes(byte[] value)
throws javax.jms.JMSException
- Specified by:
readBytes
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
readChar
public char readChar()
throws javax.jms.JMSException
- Specified by:
readChar
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
readDouble
public double readDouble()
throws javax.jms.JMSException
- Specified by:
readDouble
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
readFloat
public float readFloat()
throws javax.jms.JMSException
- Specified by:
readFloat
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
readInt
public int readInt()
throws javax.jms.JMSException
- Specified by:
readInt
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
readLong
public long readLong()
throws javax.jms.JMSException
- Specified by:
readLong
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
readShort
public short readShort()
throws javax.jms.JMSException
- Specified by:
readShort
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
printData
public void printData()
readObject
public java.lang.Object readObject()
throws javax.jms.JMSException
- Specified by:
readObject
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
readString
public java.lang.String readString()
throws javax.jms.JMSException
- Specified by:
readString
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeBoolean
public void writeBoolean(boolean value)
throws javax.jms.JMSException
- Specified by:
writeBoolean
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeByte
public void writeByte(byte value)
throws javax.jms.JMSException
- Specified by:
writeByte
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeBytes
public void writeBytes(byte[] value)
throws javax.jms.JMSException
- Specified by:
writeBytes
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeBytes
public void writeBytes(byte[] value,
int offset,
int length)
throws javax.jms.JMSException
- Specified by:
writeBytes
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeChar
public void writeChar(char value)
throws javax.jms.JMSException
- Specified by:
writeChar
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeDouble
public void writeDouble(double value)
throws javax.jms.JMSException
- Specified by:
writeDouble
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeFloat
public void writeFloat(float value)
throws javax.jms.JMSException
- Specified by:
writeFloat
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeInt
public void writeInt(int value)
throws javax.jms.JMSException
- Specified by:
writeInt
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeLong
public void writeLong(long value)
throws javax.jms.JMSException
- Specified by:
writeLong
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeObject
public void writeObject(java.lang.Object value)
throws javax.jms.JMSException
- Specified by:
writeObject
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeShort
public void writeShort(short value)
throws javax.jms.JMSException
- Specified by:
writeShort
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
writeUTF
public void writeUTF(java.lang.String value)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
writeString
public void writeString(java.lang.String value)
throws javax.jms.JMSException
- Specified by:
writeString
in interface javax.jms.StreamMessage
- Throws:
javax.jms.JMSException
reset
public void reset()
- Specified by:
reset
in interface javax.jms.StreamMessage
main
public static void main(java.lang.String[] args)
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.