?? tprotocal.java
字號(hào):
// 定義傳輸協(xié)議類TProtocal
public class TProtocal
{
public static final int LOGIN_INFO = 1; // 傳輸用戶登錄數(shù)據(jù)
public static final int REG_INFO = 2; // 傳輸用戶注冊(cè)數(shù)據(jù)
public static final int PW_SAFETY_INFO = 3; // 傳輸用戶找回密碼數(shù)據(jù)
public static final int USERID_INFO = 4; // 傳輸檢測(cè)注冊(cè)用戶名數(shù)據(jù)
public static final int RETURN_MSG = 5; // 傳輸服務(wù)器返回消息數(shù)據(jù)
public static final int HAS_ENTERED_USER = 6; // 傳輸已登錄用戶數(shù)據(jù)
public static final int TRANS_MSG_INFO = 7; // 傳輸用戶發(fā)送消息數(shù)據(jù)
public static final int TRANS_FILE_INFO = 8; // 傳輸用戶發(fā)送文件數(shù)據(jù)
public static final int ENTER_USER = 9; // 傳輸新登錄用戶數(shù)據(jù)
public static final int EXIT_USER = 10; // 傳輸離開用戶數(shù)據(jù)
public static final int SIGNATURE = 11; // 傳輸新登錄用戶的個(gè)性簽名數(shù)據(jù)
public static final int FORBIDE_ME = 12; // 傳輸自己被踢出聊天室數(shù)據(jù)
public static final int SERVER_STOP = 13; // 傳輸服務(wù)器停止數(shù)據(jù)
public static final int SERVER_NOTICE = 14; // 傳輸服務(wù)器公告
public static final int SEARCH_USER_INFO = 15; // 傳輸查找用戶資料數(shù)據(jù)
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -