亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? portmapping.java

?? android_UPNP_DLNA_控制點
?? JAVA
字號:
/* * Copyright (C) 2010 Teleal GmbH, Switzerland * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program.  If not, see <http://www.gnu.org/licenses/>. */package org.teleal.cling.support.model;import org.teleal.cling.model.action.ActionArgumentValue;import org.teleal.cling.model.meta.Service;import org.teleal.cling.model.types.UnsignedIntegerFourBytes;import org.teleal.cling.model.types.UnsignedIntegerTwoBytes;import java.util.Map;/** * @author Christian Bauer */public class PortMapping {    public enum Protocol {        UDP,        TCP    }    private boolean enabled;    private UnsignedIntegerFourBytes leaseDurationSeconds;    private String remoteHost;    private UnsignedIntegerTwoBytes externalPort;    private UnsignedIntegerTwoBytes internalPort;    private String internalClient;    private Protocol protocol;    private String description;    public PortMapping() {    }    public PortMapping(Map<String, ActionArgumentValue<Service>> map) {        this(                (Boolean) map.get("NewEnabled").getValue(),                (UnsignedIntegerFourBytes) map.get("NewLeaseDuration").getValue(),                (String) map.get("NewRemoteHost").getValue(),                (UnsignedIntegerTwoBytes) map.get("NewExternalPort").getValue(),                (UnsignedIntegerTwoBytes) map.get("NewInternalPort").getValue(),                (String) map.get("NewInternalClient").getValue(),                Protocol.valueOf(map.get("NewProtocol").toString()),                (String) map.get("NewPortMappingDescription").getValue()        );    }    public PortMapping(int port, String internalClient, Protocol protocol) {        this(                true,                new UnsignedIntegerFourBytes(0),                null,                new UnsignedIntegerTwoBytes(port),                new UnsignedIntegerTwoBytes(port),                internalClient,                protocol,                null        );    }    public PortMapping(int port, String internalClient, Protocol protocol, String description) {        this(                true,                new UnsignedIntegerFourBytes(0),                null,                new UnsignedIntegerTwoBytes(port),                new UnsignedIntegerTwoBytes(port),                internalClient,                protocol,                description        );    }    public PortMapping(String remoteHost, UnsignedIntegerTwoBytes externalPort, Protocol protocol) {        this(                true,                new UnsignedIntegerFourBytes(0),                remoteHost,                externalPort,                null,                null,                protocol,                null        );    }    public PortMapping(boolean enabled, UnsignedIntegerFourBytes leaseDurationSeconds, String remoteHost, UnsignedIntegerTwoBytes externalPort,                       UnsignedIntegerTwoBytes internalPort, String internalClient, Protocol protocol, String description) {        this.enabled = enabled;        this.leaseDurationSeconds = leaseDurationSeconds;        this.remoteHost = remoteHost;        this.externalPort = externalPort;        this.internalPort = internalPort;        this.internalClient = internalClient;        this.protocol = protocol;        this.description = description;    }    public boolean isEnabled() {        return enabled;    }    public void setEnabled(boolean enabled) {        this.enabled = enabled;    }    public UnsignedIntegerFourBytes getLeaseDurationSeconds() {        return leaseDurationSeconds;    }    public void setLeaseDurationSeconds(UnsignedIntegerFourBytes leaseDurationSeconds) {        this.leaseDurationSeconds = leaseDurationSeconds;    }    public boolean hasRemoteHost() {        return remoteHost != null && remoteHost.length() > 0;    }    public String getRemoteHost() {        return remoteHost == null ? "-" : remoteHost;    }    public void setRemoteHost(String remoteHost) {        this.remoteHost = remoteHost == null || remoteHost.equals("-") || remoteHost.length() == 0 ? null : remoteHost;    }    public UnsignedIntegerTwoBytes getExternalPort() {        return externalPort;    }    public void setExternalPort(UnsignedIntegerTwoBytes externalPort) {        this.externalPort = externalPort;    }    public UnsignedIntegerTwoBytes getInternalPort() {        return internalPort;    }    public void setInternalPort(UnsignedIntegerTwoBytes internalPort) {        this.internalPort = internalPort;    }    public String getInternalClient() {        return internalClient;    }    public void setInternalClient(String internalClient) {        this.internalClient = internalClient;    }    public Protocol getProtocol() {        return protocol;    }    public void setProtocol(Protocol protocol) {        this.protocol = protocol;    }    public boolean hasDescription() {        return description != null;    }    public String getDescription() {        return description == null ? "-" : description;    }    public void setDescription(String description) {        this.description = description == null || description.equals("-") || description.length() == 0 ? null : description;    }    @Override    public String toString() {        return "(" + getClass().getSimpleName() + ") Protocol: " + getProtocol() + ", " + getExternalPort() + " => " + getInternalClient();    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一卡二卡三卡国产欧美| 国产亚洲欧美日韩俺去了| 91麻豆国产福利在线观看| 国产一区 二区| 国产在线视频一区二区| 激情综合网激情| 国内精品久久久久影院一蜜桃| 久久精品99国产精品日本| 激情五月播播久久久精品| 久久精品国产久精国产| 国产在线乱码一区二区三区| 色综合色狠狠综合色| av在线播放成人| 色噜噜狠狠成人网p站| 欧美色老头old∨ideo| 欧美久久久久免费| 欧美成人一区二区三区| 精品久久人人做人人爽| 国产女人18水真多18精品一级做| 中文字幕第一区二区| 一区二区三区中文字幕精品精品| 亚洲1区2区3区视频| 青青草97国产精品免费观看| 久久国产精品无码网站| 国产不卡在线播放| 日本韩国欧美国产| 91麻豆精品国产91久久久 | 色欧美日韩亚洲| 欧美男生操女生| 2023国产精品自拍| 国产精品乱人伦| 亚洲小说春色综合另类电影| 九九**精品视频免费播放| 成人app在线| 精品视频一区二区不卡| 日韩欧美一二区| 国产精品毛片无遮挡高清| 亚洲一区免费视频| 久久www免费人成看片高清| 波多野结衣精品在线| 欧美色中文字幕| 国产调教视频一区| 亚洲一区免费视频| 天堂va蜜桃一区二区三区| 大白屁股一区二区视频| 欧美区在线观看| 中文在线一区二区| 午夜精品福利久久久| 国产精品综合二区| 欧美人与z0zoxxxx视频| 久久久久国产精品厨房| 亚洲一二三区不卡| 成人性生交大合| 911国产精品| 国产精品久久久久三级| 免费在线观看一区二区三区| 成人禁用看黄a在线| 91精品国产aⅴ一区二区| 中文字幕中文乱码欧美一区二区| 欧美aaa在线| 在线欧美日韩精品| 欧美—级在线免费片| 美日韩黄色大片| 色八戒一区二区三区| 久久久精品欧美丰满| 亚洲综合丝袜美腿| 成人精品小蝌蚪| 久久亚洲私人国产精品va媚药| 亚洲午夜精品网| yourporn久久国产精品| 精品成人一区二区三区四区| 天天影视色香欲综合网老头| av电影一区二区| 日本一区二区三区四区| 久久国产乱子精品免费女| 欧美卡1卡2卡| 亚洲国产综合人成综合网站| av激情综合网| 亚洲三级在线观看| 国产91精品免费| 国产亚洲制服色| 激情文学综合网| 日韩一区二区在线观看视频| 亚洲无人区一区| 在线免费观看日本一区| 亚洲欧美在线观看| www.视频一区| 国产精品美女久久久久av爽李琼| 国产精品中文字幕日韩精品| 337p日本欧洲亚洲大胆色噜噜| 日韩av一级片| 欧美伦理视频网站| 天天操天天干天天综合网| 精品污污网站免费看| 亚洲精品乱码久久久久久日本蜜臀| 国产suv精品一区二区6| 久久久久久免费| 国产黄色91视频| 欧美刺激午夜性久久久久久久| 美女一区二区视频| 精品免费国产二区三区| 精品亚洲porn| 久久一夜天堂av一区二区三区| 久久精品国产久精国产爱| 精品久久久久久久一区二区蜜臀| 日av在线不卡| 欧美xxxxx牲另类人与| 久久超碰97人人做人人爱| 日韩久久久精品| 国产一区二区按摩在线观看| 久久人人爽人人爽| 国产精品 日产精品 欧美精品| 久久综合九色综合欧美98| 国产成人h网站| 18涩涩午夜精品.www| 日本高清免费不卡视频| 亚洲一区二区三区美女| 欧美精品第1页| 久久精品国产精品亚洲综合| 国产喂奶挤奶一区二区三区 | 日韩欧美国产一区二区在线播放| 美国十次了思思久久精品导航| 日韩精品专区在线影院观看| 国产精品综合网| 国产精品看片你懂得 | 亚洲日本青草视频在线怡红院| 91免费看`日韩一区二区| 亚洲一区二区视频在线观看| 3d动漫精品啪啪1区2区免费| 加勒比av一区二区| 国产精品国产自产拍高清av| 欧美在线三级电影| 秋霞国产午夜精品免费视频| 久久久久久久网| 久久综合狠狠综合| 国产成人精品影院| 国产日韩综合av| 久久久久99精品一区| 国产91精品入口| 玉米视频成人免费看| 日韩欧美久久久| 成人激情av网| 五月天一区二区| 久久精品亚洲乱码伦伦中文| 91豆麻精品91久久久久久| 日本午夜精品视频在线观看| 国产精品日韩成人| 91精品一区二区三区久久久久久| 国产精品自拍网站| 亚洲成人在线免费| 国产视频一区二区三区在线观看| 色诱亚洲精品久久久久久| 日本中文一区二区三区| 国产精品传媒入口麻豆| 制服丝袜亚洲色图| av亚洲精华国产精华精华| 日本伊人色综合网| 国产精品久久久久四虎| 日韩欧美123| 欧美午夜电影一区| 成人蜜臀av电影| 久久精品二区亚洲w码| 伊人婷婷欧美激情| 久久精品亚洲精品国产欧美kt∨| 欧美日产在线观看| 99久久久无码国产精品| 国产在线视频一区二区三区| 亚洲成人免费视| 亚洲色图都市小说| 久久久99精品免费观看不卡| 91精品免费在线观看| 91成人国产精品| 成人午夜免费视频| 国产美女一区二区三区| 全国精品久久少妇| 亚洲成人免费看| 亚洲人成网站色在线观看| 国产欧美va欧美不卡在线| 日韩免费视频一区二区| 欧美高清视频在线高清观看mv色露露十八| 成人国产亚洲欧美成人综合网| 国产一区二区三区免费在线观看| 午夜国产精品一区| 亚洲一区在线视频| 亚洲欧美一区二区三区久本道91| 国产午夜精品久久久久久久 | 精品少妇一区二区三区视频免付费| 色天使久久综合网天天| 成人免费视频网站在线观看| 国产在线视视频有精品| 另类欧美日韩国产在线| 婷婷成人激情在线网| 午夜精品免费在线| 亚洲成人黄色影院| 亚洲综合色自拍一区| 亚洲高清视频中文字幕| 一区二区三区在线视频播放| 亚洲免费高清视频在线| 亚洲欧美国产高清| 亚洲精品国产一区二区精华液|