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

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

Introduction

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

Prototype

String protocol();

Source Link

Document

Returns the protocol for the service being queried (i.e.

Usage

From source file:examples.DNSExamples.java

License:Open Source License

public void example13(SrvRecord record) {
    record.priority();//  w  ww .  j  a  v  a  2  s. c  o  m
    record.name();
    record.weight();
    record.port();
    record.protocol();
    record.service();
    record.target();
}