| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| private final int | |
| private final String | |
| private final String | |
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | SrvRecordImpl(int priority, int weight, int port, String name, String protocol, String service, String target)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(SrvRecord
the object to be compared. o)Implements java. Compares this object with the specified object for order. |
| public String | |
| public int | |
| public int | priority()
Implements io. Returns the priority for this service record. |
| public String | protocol()
Implements io. Returns the protocol for the service being queried (i.e. "_tcp"). |
| public String | |
| public String | target()
Implements io. Returns the name of the host for the service. |
| public int |
| name | back to summary |
|---|---|
| private final String name | |
| port | back to summary |
|---|---|
| private final int port | |
| priority | back to summary |
|---|---|
| private final int priority | |
| protocol | back to summary |
|---|---|
| private final String protocol | |
| service | back to summary |
|---|---|
| private final String service | |
| target | back to summary |
|---|---|
| private final String target | |
| weight | back to summary |
|---|---|
| private final int weight | |
| SrvRecordImpl | back to summary |
|---|---|
| public SrvRecordImpl(int priority, int weight, int port, String name, String protocol, String service, String target) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(SrvRecord o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| name | back to summary |
|---|---|
| public String name() Implements io. Doc from io. Returns the name for the server being queried.
| |
| port | back to summary |
|---|---|
| public int port() Implements io. Doc from io. Returns the port the service is running on.
| |
| priority | back to summary |
|---|---|
| public int priority() Implements io. Doc from io. Returns the priority for this service record.
| |
| protocol | back to summary |
|---|---|
| public String protocol() Implements io. Doc from io. Returns the protocol for the service being queried (i.e. "_tcp").
| |
| service | back to summary |
|---|---|
| public String service() Implements io. Doc from io. Returns the service's name (i.e. "_http").
| |
| target | back to summary |
|---|---|
| public String target() Implements io. Doc from io. Returns the name of the host for the service.
| |
| weight | back to summary |
|---|---|
| public int weight() Implements io. Doc from io. Returns the weight of this service record.
| |