Package io.aether.api.clientserverapi
Class MessageInfo
- java.lang.Object
-
- io.aether.api.clientserverapi.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.UUIDfromUidprotected java.util.UUIDmessageIdstatic io.aether.net.fastMeta.FastMetaType<MessageInfo>METAstatic io.aether.net.fastMeta.FastMetaType<MessageInfo>META_BODYprotected intsizeprotected longtimestampprotected java.util.UUIDtoUid
-
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 booleanequals(java.lang.Object o)java.util.UUIDgetFromUid()java.util.UUIDgetMessageId()intgetSize()longgetTimestamp()java.util.UUIDgetToUid()inthashCode()io.aether.utils.AStringtoAString(io.aether.utils.AString sb)java.lang.StringtoString()
-
-
-
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
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toAString
public io.aether.utils.AString toAString(io.aether.utils.AString sb)
- Specified by:
toAStringin interfaceio.aether.utils.ToString
-
-