|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.latencybusters.jms.message.LBMMessage com.latencybusters.jms.message.LBMObjectMessage
public class LBMObjectMessage
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 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 |
---|
public LBMObjectMessage()
public LBMObjectMessage(JMSObjectMessage m)
public LBMObjectMessage(java.io.Serializable o)
public LBMObjectMessage(com.latencybusters.lbm.LBMMessageProperties props, byte[] data)
Method Detail |
---|
public java.io.Serializable getObject() throws javax.jms.JMSException
getObject
in interface javax.jms.ObjectMessage
javax.jms.JMSException
public void setObject(java.io.Serializable o) throws javax.jms.JMSException
setObject
in interface javax.jms.ObjectMessage
javax.jms.JMSException
public int getMessageType()
getMessageType
in class LBMMessage
public LBMMessage copy()
copy
in class LBMMessage
public void setData(byte[] d)
public void clearBody() throws javax.jms.JMSException
clearBody
in interface javax.jms.Message
clearBody
in class LBMMessage
javax.jms.JMSException
public long getBodyLength()
getBodyLength
in class LBMMessage
protected int available()
protected long skip(long n)
protected byte readByte()
protected int readBytes(byte[] value)
protected int readBytes(byte[] value, int off, int len)
protected void writeByte(byte value)
protected void writeBytes(byte[] value)
protected void writeBytes(byte[] value, int offset, int length)
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |