Class MessageInfo

  • All Implemented Interfaces:
    io.aether.utils.ToString

    public class MessageInfo
    extends java.lang.Object
    implements io.aether.utils.ToString
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.UUID fromUid  
      protected java.util.UUID messageId  
      static io.aether.net.fastMeta.FastMetaType<MessageInfo> META  
      static io.aether.net.fastMeta.FastMetaType<MessageInfo> META_BODY  
      protected int size  
      protected long timestamp  
      protected java.util.UUID toUid  
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageInfo​(long timestamp, java.util.UUID fromUid, java.util.UUID toUid, int size, java.util.UUID messageId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.util.UUID getFromUid()  
      java.util.UUID getMessageId()  
      int getSize()  
      long getTimestamp()  
      java.util.UUID getToUid()  
      int hashCode()  
      io.aether.utils.AString toAString​(io.aether.utils.AString sb)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface io.aether.utils.ToString

        toString2
    • Field Detail

      • META_BODY

        public static final io.aether.net.fastMeta.FastMetaType<MessageInfo> META_BODY
      • META

        public static final io.aether.net.fastMeta.FastMetaType<MessageInfo> META
      • timestamp

        protected final long timestamp
      • fromUid

        protected final java.util.UUID fromUid
      • toUid

        protected final java.util.UUID toUid
      • size

        protected final int size
      • messageId

        protected final java.util.UUID messageId
    • Constructor Detail

      • MessageInfo

        public MessageInfo​(long timestamp,
                           java.util.UUID fromUid,
                           java.util.UUID toUid,
                           int size,
                           java.util.UUID messageId)
    • Method Detail

      • getTimestamp

        public long getTimestamp()
      • getFromUid

        public java.util.UUID getFromUid()
      • getToUid

        public java.util.UUID getToUid()
      • getSize

        public int getSize()
      • getMessageId

        public java.util.UUID getMessageId()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toAString

        public io.aether.utils.AString toAString​(io.aether.utils.AString sb)
        Specified by:
        toAString in interface io.aether.utils.ToString