Package io.vertx.core.dns.impl.netty.decoder.record

Examples of io.vertx.core.dns.impl.netty.decoder.record.ServiceRecord


        ByteBuf packet = response.content().readerIndex(resource.contentIndex());
        int priority = packet.readShort();
        int weight = packet.readShort();
        int port = packet.readUnsignedShort();
        String target = DnsResponseDecoder.readName(packet);
        return new ServiceRecord(resource.name(), priority, weight, port, target);
    }
View Full Code Here

TOP

Related Classes of io.vertx.core.dns.impl.netty.decoder.record.ServiceRecord

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.