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

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

Introduction

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

Prototype

int port();

Source Link

Document

Returns the port the service is running on.

Usage

From source file:examples.DNSExamples.java

License:Open Source License

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