Class ClientConnectionInfo

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

    public class ClientConnectionInfo
    extends java.lang.Object
    implements io.aether.utils.ToString
    • Field Detail

      • META_BODY

        public static final io.aether.net.fastMeta.FastMetaType<ClientConnectionInfo> META_BODY
      • connectedAt

        protected final long connectedAt
      • disconnectedAt

        protected final java.lang.Long disconnectedAt
      • serverId

        protected final short serverId
      • protocol

        protected final java.lang.String protocol
    • Constructor Detail

      • ClientConnectionInfo

        public ClientConnectionInfo​(long connectedAt,
                                    java.lang.Long disconnectedAt,
                                    short serverId,
                                    KeyValuePair[] context,
                                    java.lang.String protocol)
    • Method Detail

      • getConnectedAt

        public long getConnectedAt()
      • getDisconnectedAt

        public java.lang.Long getDisconnectedAt()
      • getServerId

        public short getServerId()
      • contextContains

        public boolean contextContains​(KeyValuePair el)
      • getProtocol

        public java.lang.String getProtocol()
      • 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