com.latencybusters.jms.message
Class JMSStreamMessage
java.lang.Object
com.latencybusters.jms.message.JMSMessage
com.latencybusters.jms.message.JMSStreamMessage
public class JMSStreamMessage
- extends JMSMessage
Constructor Summary |
JMSStreamMessage()
|
JMSStreamMessage(com.latencybusters.lbm.LBMMessageProperties props,
byte[] data)
|
JMSStreamMessage(com.latencybusters.lbm.LBMMessageProperties props,
byte[] data,
boolean readOnly,
boolean readOnlyProps)
|
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, 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 |
BOOLEAN
public static final int BOOLEAN
- See Also:
- Constant Field Values
BYTE
public static final int BYTE
- See Also:
- Constant Field Values
SHORT
public static final int SHORT
- See Also:
- Constant Field Values
CHAR
public static final int CHAR
- See Also:
- Constant Field Values
INT
public static final int INT
- See Also:
- Constant Field Values
LONG
public static final int LONG
- See Also:
- Constant Field Values
FLOAT
public static final int FLOAT
- See Also:
- Constant Field Values
DOUBLE
public static final int DOUBLE
- See Also:
- Constant Field Values
STRING
public static final int STRING
- See Also:
- Constant Field Values
BYTES
public static final int BYTES
- See Also:
- Constant Field Values
JMSStreamMessage
public JMSStreamMessage()
JMSStreamMessage
public JMSStreamMessage(com.latencybusters.lbm.LBMMessageProperties props,
byte[] data)
JMSStreamMessage
public JMSStreamMessage(com.latencybusters.lbm.LBMMessageProperties props,
byte[] data,
boolean readOnly,
boolean readOnlyProps)
getData
public byte[] getData()
- Overrides:
getData
in class JMSMessage
copy
public JMSStreamMessage copy()
- Overrides:
copy
in class JMSMessage
setData
public void setData(byte[] d)
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
getClassType
public java.lang.Class getClassType(int classType)
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
- Throws:
javax.jms.JMSException
_readBoolean
public boolean _readBoolean()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
readByte
public byte readByte()
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 size)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
readChar
public char readChar()
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
_readDouble
public double _readDouble()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
readFloat
public float readFloat()
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
_readInt
public int _readInt()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
readLong
public long readLong()
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
_readShort
public short _readShort()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
readObject
public java.lang.Object readObject()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
readString
public java.lang.String readString()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
_readString
public java.lang.String _readString()
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
_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
_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
writeString
public void writeString(java.lang.String value)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
reset
public void reset()
checkSize
public void checkSize(int size)
main
public static final void main(java.lang.String[] args)
getMessageType
public int getMessageType()
- Overrides:
getMessageType
in class JMSMessage
printData
public void printData()
printData
public void printData(byte[] data)
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.