org.apache.qpid.proton.jms
Class EncodedMessage

java.lang.Object
  extended by org.apache.qpid.proton.jms.EncodedMessage

public class EncodedMessage
extends Object

Author:
Hiram Chirino

Constructor Summary
EncodedMessage(long messageFormat, byte[] data, int offset, int length)
           
 
Method Summary
 Message decode()
           
 byte[] getArray()
           
 int getArrayOffset()
           
 int getLength()
           
 long getMessageFormat()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EncodedMessage

public EncodedMessage(long messageFormat,
                      byte[] data,
                      int offset,
                      int length)
Method Detail

getMessageFormat

public long getMessageFormat()

decode

public Message decode()
               throws Exception
Throws:
Exception

getLength

public int getLength()

getArrayOffset

public int getArrayOffset()

getArray

public byte[] getArray()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.