Class CoderAndPort

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

    public class CoderAndPort
    extends java.lang.Object
    implements io.aether.utils.ToString, CoderAndPortUtil
    • Field Detail

      • META_BODY

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

        public static final io.aether.net.fastMeta.FastMetaType<CoderAndPort> META
      • port

        protected final short port
    • Constructor Detail

      • CoderAndPort

        public CoderAndPort​(AetherCodec codec,
                            short port)
    • Method Detail

      • getPort

        public short getPort()
      • 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
      • toString

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