com.latencybusters.jms.message
Class LBMMapMessage

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

public class LBMMapMessage
extends LBMMessage
implements javax.jms.MapMessage


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
LBMMapMessage()
           
LBMMapMessage(JMSMapMessage m)
           
LBMMapMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data)
           
 
Method Summary
 void clearBody()
           
 LBMMapMessage copy()
           
 long getBodyLength()
           
 boolean getBoolean(java.lang.String name)
           
 byte getByte(java.lang.String name)
           
 byte[] getBytes(java.lang.String name)
           
 char getChar(java.lang.String name)
           
 byte[] getData()
           
 double getDouble(java.lang.String name)
           
 float getFloat(java.lang.String name)
           
 int getInt(java.lang.String name)
           
 long getLong(java.lang.String name)
           
 java.util.Enumeration getMapNames()
           
 int getMessageType()
           
 java.lang.Object getObject(java.lang.String name)
           
 short getShort(java.lang.String name)
           
 java.lang.String getString(java.lang.String name)
           
 boolean itemExists(java.lang.String name)
           
static void main(java.lang.String[] args)
           
 void setBoolean(java.lang.String name, boolean value)
           
 void setByte(java.lang.String name, byte value)
           
 void setBytes(java.lang.String name, byte[] value)
           
 void setBytes(java.lang.String name, byte[] value, int offset, int length)
           
 void setChar(java.lang.String name, char value)
           
 void setData(byte[] d)
           
 void setDouble(java.lang.String name, double value)
           
 void setFloat(java.lang.String name, float value)
           
 void setInt(java.lang.String name, int value)
           
 void setLong(java.lang.String name, long value)
           
 void setObject(java.lang.String name, java.lang.Object value)
           
 void setShort(java.lang.String name, short value)
           
 void setString(java.lang.String name, java.lang.String value)
           
 java.lang.String toString()
           
 
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, 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

LBMMapMessage

public LBMMapMessage()

LBMMapMessage

public LBMMapMessage(JMSMapMessage m)

LBMMapMessage

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

getData

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

copy

public LBMMapMessage copy()
Overrides:
copy in class LBMMessage

setData

public void setData(byte[] d)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

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

getMessageType

public int getMessageType()
Overrides:
getMessageType in class LBMMessage

getBoolean

public boolean getBoolean(java.lang.String name)
                   throws javax.jms.JMSException
Specified by:
getBoolean in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getByte

public byte getByte(java.lang.String name)
             throws javax.jms.JMSException
Specified by:
getByte in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getBytes

public byte[] getBytes(java.lang.String name)
                throws javax.jms.JMSException
Specified by:
getBytes in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getChar

public char getChar(java.lang.String name)
             throws javax.jms.JMSException
Specified by:
getChar in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getDouble

public double getDouble(java.lang.String name)
                 throws javax.jms.JMSException
Specified by:
getDouble in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getFloat

public float getFloat(java.lang.String name)
               throws javax.jms.JMSException
Specified by:
getFloat in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getInt

public int getInt(java.lang.String name)
           throws javax.jms.JMSException
Specified by:
getInt in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getLong

public long getLong(java.lang.String name)
             throws javax.jms.JMSException
Specified by:
getLong in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getMapNames

public java.util.Enumeration getMapNames()
Specified by:
getMapNames in interface javax.jms.MapMessage

getObject

public java.lang.Object getObject(java.lang.String name)
                           throws javax.jms.JMSException
Specified by:
getObject in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getShort

public short getShort(java.lang.String name)
               throws javax.jms.JMSException
Specified by:
getShort in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

getString

public java.lang.String getString(java.lang.String name)
                           throws javax.jms.JMSException
Specified by:
getString in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

itemExists

public boolean itemExists(java.lang.String name)
                   throws javax.jms.JMSException
Specified by:
itemExists in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setBoolean

public void setBoolean(java.lang.String name,
                       boolean value)
                throws javax.jms.JMSException
Specified by:
setBoolean in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setByte

public void setByte(java.lang.String name,
                    byte value)
             throws javax.jms.JMSException
Specified by:
setByte in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setBytes

public void setBytes(java.lang.String name,
                     byte[] value)
              throws javax.jms.JMSException
Specified by:
setBytes in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setBytes

public void setBytes(java.lang.String name,
                     byte[] value,
                     int offset,
                     int length)
              throws javax.jms.JMSException
Specified by:
setBytes in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setChar

public void setChar(java.lang.String name,
                    char value)
             throws javax.jms.JMSException
Specified by:
setChar in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setDouble

public void setDouble(java.lang.String name,
                      double value)
               throws javax.jms.JMSException
Specified by:
setDouble in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setFloat

public void setFloat(java.lang.String name,
                     float value)
              throws javax.jms.JMSException
Specified by:
setFloat in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setInt

public void setInt(java.lang.String name,
                   int value)
            throws javax.jms.JMSException
Specified by:
setInt in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setLong

public void setLong(java.lang.String name,
                    long value)
             throws javax.jms.JMSException
Specified by:
setLong in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setObject

public void setObject(java.lang.String name,
                      java.lang.Object value)
               throws javax.jms.JMSException
Specified by:
setObject in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setShort

public void setShort(java.lang.String name,
                     short value)
              throws javax.jms.JMSException
Specified by:
setShort in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

setString

public void setString(java.lang.String name,
                      java.lang.String value)
               throws javax.jms.JMSException
Specified by:
setString in interface javax.jms.MapMessage
Throws:
javax.jms.JMSException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

main

public static final 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.