xmlBlaster 2.2.0 client API

org.xmlBlaster.client.protocol.http.common
Class Msg

java.lang.Object
  extended by org.xmlBlaster.client.protocol.http.common.Msg

public final class Msg
extends java.lang.Object

Encapsulates the xmlKey, content and qos.


Constructor Summary
Msg(java.util.Hashtable key, byte[] content, java.util.Hashtable qos)
           
 
Method Summary
 byte[] getContent()
          Get the raw content, never null
 java.lang.String getContentStr()
          Get the raw content, never null
 java.util.Hashtable getKey()
          The message key, never null
 java.util.Hashtable getQos()
          The message QoS, never null
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Msg

public Msg(java.util.Hashtable key,
           byte[] content,
           java.util.Hashtable qos)
Method Detail

getKey

public java.util.Hashtable getKey()
The message key, never null


getContent

public byte[] getContent()
Get the raw content, never null


getContentStr

public java.lang.String getContentStr()
                               throws XmlBlasterException
Get the raw content, never null

Throws:
XmlBlasterException

getQos

public java.util.Hashtable getQos()
The message QoS, never null


xmlBlaster 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.