const.java

来自「SOCK VIA HTTP是通过HTTP建立通道的SOCK」· Java 代码 · 共 54 行

JAVA
54
字号
/*This file is part of Socks via HTTP.This package is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version.Socks via HTTP is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Socks via HTTP; if not, write to the Free SoftwareFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/// Title :        Const.java// Version :      0.40// Copyright :    Copyright (c) 2001// Author :       Florent CUETO (fcueto@wanadoo.fr)// Description :  Constantspackage socks4;public class Const{  // Class constants  public static final String APPLICATION_VERSION = "0.40";  public static final String APPLICATION_NAME = "Socks via HTTP";  public static final String AUTHOR_NAME = "Florent CUETO";  public static final String AUTHOR_EMAIL = "fcueto@wanadoo.fr";  // Comm client <-> server  public static final int CONNECTION_UNSPECIFIED_TYPE = 1;  public static final int CONNECTION_NOT_FOUND = 2;  public static final int CONNECTION_CREATE = 11;  public static final int CONNECTION_CREATE_OK = 12;  public static final int CONNECTION_CREATE_KO = 13;  public static final int CONNECTION_PING = 21;  public static final int CONNECTION_PONG = 22;  public static final int CONNECTION_PONG_RECEIVED = 23;  public static final int CONNECTION_REQUEST = 31;  public static final int CONNECTION_RESPONSE = 32;  public static final int CONNECTION_DESTROY = 41;  public static final int CONNECTION_DESTROY_OK = 42;  public static final int CONNECTION_DESTROY_KO = 43;  public static final byte[] TAB_EMPTY = "".getBytes();}

⌨️ 快捷键说明

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