com.latencybusters.jms.message
Class LBMObjectMessage

java.lang.Object
  extended by com.latencybusters.jms.message.LBMMessage
      extended by com.latencybusters.jms.message.LBMObjectMessage
All Implemented Interfaces:
javax.jms.Message, javax.jms.ObjectMessage

public class LBMObjectMessage
extends LBMMessage
implements javax.jms.ObjectMessage


Field Summary
 
Fields inherited from class com.latencybusters.jms.message.LBMMessage
BYTEMESSAGE, m, MAPMESSAGE, MESSAGE, OBJECTMESSAGE, STREAMMESSAGE, TEXTMESSAGE
 
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Constructor Summary
LBMObjectMessage()
           
LBMObjectMessage(JMSObjectMessage m)
           
LBMObjectMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data)
           
LBMObjectMessage(java.io.Serializable o)
           
 
Method Summary
protected  int available()
           
 void clearBody()
           
 LBMMessage copy()
           
 long getBodyLength()
           
 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.LBMMessage
ack, acknowledge, checkReadOnlyBody, checkRef, clearProperties, dispatch, dumpProps, equals, getBooleanProperty, getByteProperty, getConsumer, getData, 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
 

Constructor Detail

LBMObjectMessage

public LBMObjectMessage()

LBMObjectMessage

public LBMObjectMessage(JMSObjectMessage m)

LBMObjectMessage

public LBMObjectMessage(java.io.Serializable o)

LBMObjectMessage

public LBMObjectMessage(com.latencybusters.lbm.LBMMessageProperties props,
                        byte[] data)
Method Detail

getObject

public java.io.Serializable getObject()
                               throws javax.jms.JMSException
Specified by:
getObject in interface javax.jms.ObjectMessage
Throws:
javax.jms.JMSException

setObject

public void setObject(java.io.Serializable o)
               throws javax.jms.JMSException
Specified by:
setObject in interface javax.jms.ObjectMessage
Throws:
javax.jms.JMSException

getMessageType

public int getMessageType()
Overrides:
getMessageType 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

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()


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.