Class WmTextMessageImpl

    • Constructor Detail

      • WmTextMessageImpl

        public WmTextMessageImpl()
                          throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • WmTextMessageImpl

        protected WmTextMessageImpl​(TransportMessage container)
      • WmTextMessageImpl

        protected WmTextMessageImpl​(javax.jms.TextMessage sourceMsg)
                             throws javax.jms.JMSException

        this constructor is used for Message interoperability

        Throws:
        javax.jms.JMSException
      • WmTextMessageImpl

        protected WmTextMessageImpl​(WmTextMessageImpl sourceMsg)
                             throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
    • Method Detail

      • setText

        public void setText​(java.lang.String str)
                     throws javax.jms.JMSException
        Specified by:
        setText in interface javax.jms.TextMessage
        Throws:
        javax.jms.JMSException
      • getText

        public java.lang.String getText()
                                 throws javax.jms.JMSException
        Specified by:
        getText in interface javax.jms.TextMessage
        Throws:
        javax.jms.JMSException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Overrides:
        writeExternal in class WmMessageImpl
        Throws:
        java.io.IOException
        See Also:
        Externalizable.writeExternal(java.io.ObjectOutput)
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Overrides:
        readExternal in class WmMessageImpl
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
        See Also:
        Externalizable.readExternal(java.io.ObjectInput)
      • equals

        public boolean equals​(java.lang.Object obj)
        Checks if two Messages are equal
        Overrides:
        equals in class WmMessageImpl
        See Also:
        Object.equals(Object)
      • hashCode

        public int hashCode()
        Calculates hash code for this object.
        Overrides:
        hashCode in class WmMessageImpl
        See Also:
        Object.hashCode()