Debian Codegraph @

minidns-hla/src/main/java/org/minidns/hla/srv/SrvServiceProto.java

raw
1 /*
2 * Copyright 2015-2020 the original author or authors
3 *
4 * This software is licensed under the Apache License, Version 2.0,
5 * the GNU Lesser General Public License version 2 or later ("LGPL")
6 * and the WTFPL.
7 * You may choose either license to govern your use of this software only
8 * upon the condition that you accept all of the terms of either
9 * the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
10 */
11 package org.minidns.hla.srv;
12
13 import org.minidns.dnslabel.DnsLabel;
14
15 /**
16 * The Serivce and Protocol part of a SRV owner name. The format of a SRV owner name is "_Service._Proto.Name".
17 */
18 public class SrvServiceProto {
19
20 public final DnsLabel service;
21 public final DnsLabel proto;
22
23 public SrvServiceProto(DnsLabel service, DnsLabel proto) {
24 this.service = service;
25 this.proto = proto;
26 }
27 }