com.latencybusters.jms.message
Class JMSObjectMessage

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

public class JMSObjectMessage
extends JMSMessage


Field Summary
 
Fields inherited from class com.latencybusters.jms.message.JMSMessage
data, dataMsg, DEFAULT_LENGTH, GROUP_ID, GROUP_SEQ, header
 
Constructor Summary
JMSObjectMessage()
           
JMSObjectMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data)
           
JMSObjectMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data, boolean readOnly, boolean readOnlyProps)
           
JMSObjectMessage(java.io.Serializable o)
           
 
Method Summary
protected  int available()
           
protected  void checkSize(int size)
           
 void clearBody()
           
 JMSObjectMessage copy()
           
 long getBodyLength()
           
 byte[] getData()
           
 int getMessageType()
           
 java.io.Serializable getObject()
           
protected  byte readByte()
           
protected  int readBytes(byte[] value)
           
protected  int readBytes(byte[] value, int off, int len)
           
 void reset()
           
 void setData(byte[] d)
           
 void setObject(java.io.Serializable o)
           
protected  long skip(long n)
           
protected  void writeByte(byte value)
           
protected  void writeBytes(byte[] value)
           
protected  void writeBytes(byte[] value, int offset, int length)
           
 
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

JMSObjectMessage

public JMSObjectMessage()

JMSObjectMessage

public JMSObjectMessage(java.io.Serializable o)

JMSObjectMessage

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

JMSObjectMessage

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

getObject

public java.io.Serializable getObject()
                               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setObject

public void setObject(java.io.Serializable o)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getData

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

copy

public JMSObjectMessage 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

available

protected int available()

skip

protected long skip(long n)

readByte

protected byte readByte()

readBytes

protected int readBytes(byte[] value)

readBytes

protected int readBytes(byte[] value,
                        int off,
                        int len)

writeByte

protected void writeByte(byte value)

writeBytes

protected void writeBytes(byte[] value)

writeBytes

protected void writeBytes(byte[] value,
                          int offset,
                          int length)

reset

public void reset()

checkSize

protected 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.