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

📄 snacpacket.java.svn-base

📁 类似QQ的功能
💻 SVN-BASE
📖 第 1 页 / 共 2 页
字号:
/******************************************************************************* Jimm - Mobile Messaging - J2ME ICQ clone Copyright (C) 2003-05  Jimm Project This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. ******************************************************************************** File: src/jimm/comm/SnacPacket.java Version: ###VERSION###  Date: ###DATE### Author(s): Manuel Linsmayer, Andreas Rossbacher *******************************************************************************/package jimm.comm;import jimm.JimmException;public class SnacPacket extends Packet{	/**************************/	/* Family 0x0001: SERVICE */	/**************************/	// CLI_READY packet packet family and command	public static final int CLI_READY_FAMILY = 0x0001;	public static final int CLI_READY_COMMAND = 0x0002;	// SRV_FAMILIES packet family and command	public static final int SRV_FAMILIES_FAMILY = 0x0001;	public static final int SRV_FAMILIES_COMMAND = 0x0003;	// CLI_SERVICEREQUEST packet family and command	public static final int CLI_SERVICEREQUEST_FAMILY = 0x0001;	public static final int CLI_SERVICEREQUEST_COMMAND = 0x0004;	// SRV_REDIRECTxSERVICE packet family and command	public static final int SRV_REDIRECT_FAMILY = 0x0001;	public static final int SRV_REDIRECT_COMMAND = 0x0005;	// CLI_RATESREQUEST packet family and command	public static final int CLI_RATESREQUEST_FAMILY = 0x0001;	public static final int CLI_RATESREQUEST_COMMAND = 0x0006;	// SRV_RATES packet family and command	public static final int SRV_RATES_FAMILY = 0x0001;	public static final int SRV_RATES_COMMAND = 0x0007;	// CLI_ACKRATES packet family and command	public static final int CLI_ACKRATES_FAMILY = 0x0001;	public static final int CLI_ACKRATES_COMMAND = 0x0008;	// CLI_REQINFO packet family and command	public static final int CLI_REQINFO_FAMILY = 0x0001;	public static final int CLI_REQINFO_COMMAND = 0x000E;	// SRV_REPLYINFO packet family and command	public static final int SRV_REPLYINFO_FAMILY = 0x0001;	public static final int SRV_REPLYINFO_COMMAND = 0x000F;	// SRV_MOTD packet family and command	public static final int SRV_MOTD_FAMILY = 0x0001;	public static final int SRV_MOTD_COMMAND = 0x0013;	// CLI_FAMILIES packet family and command	public static final int CLI_FAMILIES_FAMILY = 0x0001;	public static final int CLI_FAMILIES_COMMAND = 0x0017;	// SRV_FAMILIES2 packet family and command	public static final int SRV_FAMILIES2_FAMILY = 0x0001;	public static final int SRV_FAMILIES2_COMMAND = 0x0018;	// CLI_SETSTATUS packet packet family and command	public static final int CLI_SETSTATUS_FAMILY = 0x0001;	public static final int CLI_SETSTATUS_COMMAND = 0x001E;	/***************************/	/* Family 0x0002: LOCATION */	/***************************/	// CLI_REQLOCATION packet family and command	public static final int CLI_REQLOCATION_FAMILY = 0x0002;	public static final int CLI_REQLOCATION_COMMAND = 0x0002;	// SRV_REPLYLOCATION packet family and command	public static final int SRV_REPLYLOCATION_FAMILY = 0x0002;	public static final int SRV_REPLYLOCATION_COMMAND = 0x0003;	// CLI_SETUSERINFO packet family and command	public static final int CLI_SETUSERINFO_FAMILY = 0x0002;	public static final int CLI_SETUSERINFO_COMMAND = 0x0004;	/**************************/	/* Family 0x0003: CONTACT */	/**************************/	// CLI_REQBUDDY packet family and command	public static final int CLI_REQBUDDY_FAMILY = 0x0003;	public static final int CLI_REQBUDDY_COMMAND = 0x0002;	// SRV_REPLYBUDDY packet family and command	public static final int SRV_REPLYBUDDY_FAMILY = 0x0003;	public static final int SRV_REPLYBUDDY_COMMAND = 0x0003;	    // SRV_REPLYBUDDY packet family and command	public static final int CLI_BUDDYLIST_ADD_FAMILY = 0x0003;	public static final int CLI_BUDDYLIST_ADD_COMMAND = 0x0004;	    // SRV_REPLYBUDDY packet family and command	public static final int CLI_BUDDYLIST_REMOVE_FAMILY = 0x0003;	public static final int CLI_BUDDYLIST_REMOVE_COMMAND = 0x0005;	// SRV_USERONLINE packet family and command	public static final int SRV_USERONLINE_FAMILY = 0x0003;	public static final int SRV_USERONLINE_COMMAND = 0x000B;	// SRV_USEROFFLINE packet family and command	public static final int SRV_USEROFFLINE_FAMILY = 0x0003;	public static final int SRV_USEROFFLINE_COMMAND = 0x000C;	/***********************/	/* Family 0x0004: ICBM */	/***********************/	// CLI_SETICBM packet packet family and command	public static final int CLI_SETICBM_FAMILY = 0x0004;	public static final int CLI_SETICBM_COMMAND = 0x0002;	// CLI_REQICBM packet family and command	public static final int CLI_REQICBM_FAMILY = 0x0004;	public static final int CLI_REQICBM_COMMAND = 0x0004;	// SRV_REPLYICBM packet family and command	public static final int SRV_REPLYICBM_FAMILY = 0x0004;	public static final int SRV_REPLYICBM_COMMAND = 0x0005;	// CLI_SENDMSG packet family and command	public static final int CLI_SENDMSG_FAMILY = 0x0004;	public static final int CLI_SENDMSG_COMMAND = 0x0006;	// SRV_RECVMSG packet family and command	public static final int SRV_RECVMSG_FAMILY = 0x0004;	public static final int SRV_RECVMSG_COMMAND = 0x0007;	// CLI_ACKMSG packet family and command	public static final int CLI_ACKMSG_FAMILY = 0x0004;	public static final int CLI_ACKMSG_COMMAND = 0x000B;		// SRV_MSG_ACK packet family and command	public static final int SRV_MSG_ACK_FAMILY = 0x0004;	public static final int SRV_MSG_ACK_COMMAND = 0x000C;	/**********************/	/* Family 0x0009: BOS */	/**********************/	// CLI_REQBOS packet family and command	public static final int CLI_REQBOS_FAMILY = 0x0009;	public static final int CLI_REQBOS_COMMAND = 0x0002;	// SRV_REPLYBOS packet family and command	public static final int SRV_REPLYBOS_FAMILY = 0x0009;	public static final int SRV_REPLYBOS_COMMAND = 0x0003;	/***************************/	/* Family 0x000B: INTERVAL */	/***************************/	// Nothing	/**************************/	/* Family 0x0010: AVATARS */	/**************************/	// CLI_REQAVATAR packet family and command	public static final int CLI_REQAVATAR_FAMILY = 0x0010;	public static final int CLI_REQAVATAR_COMMAND = 0x0006;	// SRV_REPLYLISTS packet family and command	public static final int SRV_REPLYAVATAR_FAMILY = 0x0010;	public static final int SRV_REPLYAVATAR_COMMAND = 0x0007;	/*************************/	/* Family 0x0013: ROSTER */	/*************************/	// CLI_REQLISTS packet family and command	public static final int CLI_REQLISTS_FAMILY = 0x0013;	public static final int CLI_REQLISTS_COMMAND = 0x0002;	// SRV_REPLYLISTS packet family and command	public static final int SRV_REPLYLISTS_FAMILY = 0x0013;	public static final int SRV_REPLYLISTS_COMMAND = 0x0003;	// CLI_REQROSTER packet family and command	public static final int CLI_REQROSTER_FAMILY = 0x0013;	public static final int CLI_REQROSTER_COMMAND = 0x0004;	// CLI_CHECKROSTER packet family and command	public static final int CLI_CHECKROSTER_FAMILY = 0x0013;	public static final int CLI_CHECKROSTER_COMMAND = 0x0005;	// SRV_REPLYROSTER packet family and command	public static final int SRV_REPLYROSTER_FAMILY = 0x0013;	public static final int SRV_REPLYROSTER_COMMAND = 0x0006;	// CLI_ROSTERACK packet family and command	public static final int CLI_ROSTERACK_FAMILY = 0x0013;	public static final int CLI_ROSTERACK_COMMAND = 0x0007;		// CLI_ROSTERADD packet family and command	public static final int CLI_ROSTERADD_FAMILY = 0x0013;	public static final int CLI_ROSTERADD_COMMAND = 0x0008;	// CLI_ROSTERUPDATE packet family and command	public static final int CLI_ROSTERUPDATE_FAMILY = 0x0013;	public static final int CLI_ROSTERUPDATE_COMMAND = 0x0009;	// CLI_ROSTERDELETE packet family and command	public static final int CLI_ROSTERDELETE_FAMILY = 0x0013;	public static final int CLI_ROSTERDELETE_COMMAND = 0x000A;	// SRV_UPDATEACK packet family and command	public static final int SRV_UPDATEACK_FAMILY = 0x0013;	public static final int SRV_UPDATEACK_COMMAND = 0x000E;	// SRV_REPLYROSTEROK packet family and command	public static final int SRV_REPLYROSTEROK_FAMILY = 0x0013;	public static final int SRV_REPLYROSTEROK_COMMAND = 0x000F;	// CLI_ADDSTART packet family and command	public static final int CLI_ADDSTART_FAMILY = 0x0013;	public static final int CLI_ADDSTART_COMMAND = 0x0011;	// CLI_ADDEND packet family and command	public static final int CLI_ADDEND_FAMILY = 0x0013;	public static final int CLI_ADDEND_COMMAND = 0x0012;		// CLI_REMOVEME packet family and command	public static final int CLI_REMOVEME_FAMILY = 0x0013;

⌨️ 快捷键说明

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