Example usage for io.vertx.core.dns SrvRecord weight

List of usage examples for io.vertx.core.dns SrvRecord weight

Introduction

In this page you can find the example usage for io.vertx.core.dns SrvRecord weight.

Prototype

int weight();

Source Link

Document

Returns the weight of this service record.

Usage

From source file:examples.DNSExamples.java

License:Open Source License

public void example13(SrvRecord record) {
    record.priority();//from   w w w.j  av a2  s  .  c o m
    record.name();
    record.weight();
    record.port();
    record.protocol();
    record.service();
    record.target();
}