?? sourceaddress.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 SourceAddress extends MappedResponseChangedSourceAddressReflectedFrom { private static Logger logger = Logger.getLogger("de.javawi.stun.attribute.SourceAddress"); public SourceAddress() { super(MessageAttribute.MessageAttributeType.SourceAddress); } public static MessageAttribute parse(byte[] data) throws MessageAttributeParsingException { SourceAddress sa = new SourceAddress(); MappedResponseChangedSourceAddressReflectedFrom.parse(sa, data); logger.finer("Message Attribute: Source Address parsed: " + sa.toString() + "."); return sa; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -