⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 messageattributeinterface.java

📁 解决了nat穿越的问题
💻 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;public interface MessageAttributeInterface {	public enum MessageAttributeType { Dummy, MappedAddress, ResponseAddress, ChangeRequest, SourceAddress, ChangedAddress, Username, Password, MessageIntegrity, ErrorCode, UnknownAttribute, ReflectedFrom };	final static int DUMMY = 0x0000;	final static int MAPPEDADDRESS = 0x0001;	final static int RESPONSEADDRESS = 0x0002;	final static int CHANGEREQUEST = 0x0003;	final static int SOURCEADDRESS = 0x0004;	final static int CHANGEDADDRESS = 0x0005;	final static int USERNAME = 0x0006;	final static int PASSWORD = 0x0007;	final static int MESSAGEINTEGRITY = 0x0008;	final static int ERRORCODE = 0x0009;	final static int UNKNOWNATTRIBUTE = 0x000a;	final static int REFLECTEDFROM = 0x000b;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -