Package org.jpos.util

Class SimpleMsg

  • All Implemented Interfaces:
    Loggeable

    public class SimpleMsg
    extends java.lang.Object
    implements Loggeable

    A simple general purpose loggeable message.

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleMsg​(java.lang.String tagName, java.lang.Object msgContent)  
      SimpleMsg​(java.lang.String tagName, java.lang.String msgName, java.lang.Object msgContent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dump​(java.io.PrintStream p, java.lang.String indent)
      dumps message
      java.lang.Object getMsgContent()  
      void setMsgContent​(java.lang.Object msgContent)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleMsg

        public SimpleMsg​(java.lang.String tagName,
                         java.lang.String msgName,
                         java.lang.Object msgContent)
      • SimpleMsg

        public SimpleMsg​(java.lang.String tagName,
                         java.lang.Object msgContent)
    • Method Detail

      • dump

        public void dump​(java.io.PrintStream p,
                         java.lang.String indent)
        dumps message
        Specified by:
        dump in interface Loggeable
        Parameters:
        p - a PrintStream usually supplied by Logger
        indent - indention string, usually suppiled by Logger
        See Also:
        Loggeable
      • setMsgContent

        public void setMsgContent​(java.lang.Object msgContent)