当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
SpyBytesMessage (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging  API Documentation 英文版文档
org.jboss.mq
Class SpyBytesMessage
java.lang.Object
   org.jboss.mq.SpyMessage
org.jboss.mq.SpyMessage
       org.jboss.mq.SpyBytesMessage
org.jboss.mq.SpyBytesMessage
- All Implemented Interfaces: 
- javax.jms.BytesMessage, Cloneable, Comparable, Externalizable, javax.jms.Message, Serializable
- public class SpyBytesMessage- extends SpyMessage- implements Cloneable, javax.jms.BytesMessage, Externalizable
This class implements javax.jms.BytesMessage
- Version:
- $Revision: 1.12 $
- Author:
- Norbert Lataille (Norbert.Lataille@m4x.org), Adrian Brock
- See Also:
- Serialized Form
 
 
 
| Fields inherited from class org.jboss.mq.SpyMessage | 
| ack, BOOLEAN, BYTE, BYTES_MESS, DOUBLE, ENCAP_MESS, FLOAT, header, INT, LONG, MAP_MESS, NULL, OBJECT, OBJECT_MESS, PROPERTY_REDELIVERY_COUNT, PROPERTY_REDELIVERY_DELAY, PROPERTY_REDELIVERY_LIMIT, PROPERTY_SCHEDULED_DELIVERY, session, SHORT, SPY_MESS, STREAM_MESS, STRING, TEXT_MESS | 
 
| Fields inherited from interface javax.jms.Message | 
| DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE | 
 
 
 
| Methods inherited from class org.jboss.mq.SpyMessage | 
| acknowledge, clearProperties, compareTo, copyProps, createAcknowledgementRequest, doAcknowledge, doNegAcknowledge, getAcknowledgementRequest, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, isOutdated, propertyExists, readMessage, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setReadOnlyMode, setShortProperty, setStringProperty, toString, writeMessage | 
 
 
| 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 | 
 
SpyBytesMessage
public SpyBytesMessage()
- Create a new SpyBytesMessage
 
readBoolean
public boolean readBoolean()
                    throws javax.jms.JMSException
- 
- Specified by:
- readBooleanin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readByte
public byte readByte()
              throws javax.jms.JMSException
- 
- Specified by:
- readBytein interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readUnsignedByte
public int readUnsignedByte()
                     throws javax.jms.JMSException
- 
- Specified by:
- readUnsignedBytein interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readShort
public short readShort()
                throws javax.jms.JMSException
- 
- Specified by:
- readShortin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readUnsignedShort
public int readUnsignedShort()
                      throws javax.jms.JMSException
- 
- Specified by:
- readUnsignedShortin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readChar
public char readChar()
              throws javax.jms.JMSException
- 
- Specified by:
- readCharin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readInt
public int readInt()
            throws javax.jms.JMSException
- 
- Specified by:
- readIntin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readLong
public long readLong()
              throws javax.jms.JMSException
- 
- Specified by:
- readLongin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readFloat
public float readFloat()
                throws javax.jms.JMSException
- 
- Specified by:
- readFloatin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readDouble
public double readDouble()
                  throws javax.jms.JMSException
- 
- Specified by:
- readDoublein interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readUTF
public String readUTF()
               throws javax.jms.JMSException
- 
- Specified by:
- readUTFin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readBytes
public int readBytes(byte[] value)
              throws javax.jms.JMSException
- 
- Specified by:
- readBytesin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
readBytes
public int readBytes(byte[] value,
                     int length)
              throws javax.jms.JMSException
- 
- Specified by:
- readBytesin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeBoolean
public void writeBoolean(boolean value)
                  throws javax.jms.JMSException
- 
- Specified by:
- writeBooleanin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeByte
public void writeByte(byte value)
               throws javax.jms.JMSException
- 
- Specified by:
- writeBytein interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeShort
public void writeShort(short value)
                throws javax.jms.JMSException
- 
- Specified by:
- writeShortin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeChar
public void writeChar(char value)
               throws javax.jms.JMSException
- 
- Specified by:
- writeCharin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeInt
public void writeInt(int value)
              throws javax.jms.JMSException
- 
- Specified by:
- writeIntin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeLong
public void writeLong(long value)
               throws javax.jms.JMSException
- 
- Specified by:
- writeLongin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeFloat
public void writeFloat(float value)
                throws javax.jms.JMSException
- 
- Specified by:
- writeFloatin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeDouble
public void writeDouble(double value)
                 throws javax.jms.JMSException
- 
- Specified by:
- writeDoublein interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeUTF
public void writeUTF(String value)
              throws javax.jms.JMSException
- 
- Specified by:
- writeUTFin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeBytes
public void writeBytes(byte[] value)
                throws javax.jms.JMSException
- 
- Specified by:
- writeBytesin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeBytes
public void writeBytes(byte[] value,
                       int offset,
                       int length)
                throws javax.jms.JMSException
- 
- Specified by:
- writeBytesin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeObject
public void writeObject(Object value)
                 throws javax.jms.JMSException
- 
- Specified by:
- writeObjectin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
reset
public void reset()
           throws javax.jms.JMSException
- 
- Specified by:
- resetin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
clearBody
public void clearBody()
               throws javax.jms.JMSException
- Description copied from class: SpyMessage
- Clear the message body
 
- 
- Specified by:
- clearBodyin interface- javax.jms.Message
- Overrides:
- clearBodyin class- SpyMessage
 
- 
- Throws:
- javax.jms.JMSException- for any error
 
myClone
public SpyMessage myClone()
                   throws javax.jms.JMSException
- Description copied from class: SpyMessage
- Clone the message
 
- 
- Overrides:
- myClonein class- SpyMessage
 
- 
- Returns:
- the cloned message
- Throws:
- javax.jms.JMSException- for any error
 
getBodyLength
public long getBodyLength()
                   throws javax.jms.JMSException
- 
- Specified by:
- getBodyLengthin interface- javax.jms.BytesMessage
 
- 
- Throws:
- javax.jms.JMSException
 
writeExternal
public void writeExternal(ObjectOutput out)
                   throws IOException
- 
- Specified by:
- writeExternalin interface- Externalizable
- Overrides:
- writeExternalin class- SpyMessage
 
- 
- Throws:
- IOException
 
readExternal
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
- 
- Specified by:
- readExternalin interface- Externalizable
- Overrides:
- readExternalin class- SpyMessage
 
- 
- Throws:
- IOException
- ClassNotFoundException
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.