Package io.hekate.rpc

Class RpcInterfaceInfo<T>

    • Method Detail

      • name

        public String name()
        Returns the RPC interface name.

        This method is merely a shortcut for javaType().getName().

        Returns:
        RPC interface name.
      • versionedName

        public String versionedName()
        Returns the versioned name of this RPC interface.

        Versioned name is a combination of name() and version().

        Returns:
        Versioned name.
      • javaType

        public Class<T> javaType()
        Returns the Java type of this RPC interface.
        Returns:
        Java type of this RPC interface.
      • version

        public int version()
        Returns the version of this RPC interface.
        Returns:
        Version of this RPC interface.
        See Also:
        Rpc.version()
      • minClientVersion

        public int minClientVersion()
        Returns the minimum client version that is supported by this RPC interface.
        Returns:
        Minimum client version that is supported by this RPC interface.
        See Also:
        Rpc.minClientVersion()
      • methods

        public List<RpcMethodInfo> methods()
        Returns the meta-information about this RPC interface's methods.
        Returns:
        meta-information about this RPC interface's methods.