public static class Parameters.Server.Host extends java.lang.Object implements java.lang.Comparable<Parameters.Server.Host>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
hostname |
int |
port |
int |
priority |
int |
weight |
Modifier and Type | Method and Description |
---|---|
static Parameters.Server.Host |
build(java.lang.String srvRecord) |
static Parameters.Server.Host |
build(java.lang.String hostname,
int port,
int priority,
int weight) |
int |
compareTo(Parameters.Server.Host o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public final java.lang.String hostname
public final int port
public final int priority
public final int weight
public static Parameters.Server.Host build(java.lang.String srvRecord)
public static Parameters.Server.Host build(java.lang.String hostname, int port, int priority, int weight)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(Parameters.Server.Host o)
compareTo
in interface java.lang.Comparable<Parameters.Server.Host>
Copyright © 2021. All Rights Reserved.