Package edu.jas.util

Class TaggedMessage

  • All Implemented Interfaces:
    java.io.Serializable

    class TaggedMessage
    extends java.lang.Object
    implements java.io.Serializable
    TaggedMessage container.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Object msg  
      java.lang.Integer tag  
    • Constructor Summary

      Constructors 
      Constructor Description
      TaggedMessage​(java.lang.Integer tag, java.lang.Object msg)
      Constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • tag

        public final java.lang.Integer tag
      • msg

        public final java.lang.Object msg
    • Constructor Detail

      • TaggedMessage

        public TaggedMessage​(java.lang.Integer tag,
                             java.lang.Object msg)
        Constructor.
        Parameters:
        tag - message tag
        msg - message object