📄 mappedaddress.java
字号:
/* * This file is part of JSTUN. * * Copyright (c) 2005 Thomas King <king@t-king.de> - All rights * reserved. * * This software is licensed under either the GNU Public License (GPL), * or the Apache 2.0 license. Copies of both license agreements are * included in this distribution. */package de.javawi.jstun.attribute;import java.util.logging.Logger;public class MappedAddress extends MappedResponseChangedSourceAddressReflectedFrom { private static Logger logger = Logger.getLogger("de.javawi.stun.attribute.MappedAddress"); public MappedAddress() { super(MessageAttribute.MessageAttributeType.MappedAddress); } public static MessageAttribute parse(byte[] data) throws MessageAttributeParsingException { MappedAddress ma = new MappedAddress(); MappedResponseChangedSourceAddressReflectedFrom.parse(ma, data); logger.finer("Message Attribute: Mapped Address parsed: " + ma.toString() + "."); return ma; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -