001/*
002 * Copyright 2015-2024 the original author or authors
003 *
004 * This software is licensed under the Apache License, Version 2.0,
005 * the GNU Lesser General Public License version 2 or later ("LGPL")
006 * and the WTFPL.
007 * You may choose either license to govern your use of this software only
008 * upon the condition that you accept all of the terms of either
009 * the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
010 */
011package org.minidns.hla.srv;
012
013import org.minidns.dnslabel.DnsLabel;
014
015/**
016 *  The Serivce and Protocol part of a SRV owner name. The format of a SRV owner name is "_Service._Proto.Name".
017 */
018public class SrvServiceProto {
019
020    public final DnsLabel service;
021    public final DnsLabel proto;
022
023    public SrvServiceProto(DnsLabel service, DnsLabel proto) {
024        this.service = service;
025        this.proto = proto;
026    }
027}