|
13 | 13 | public class ProxerTag { |
14 | 14 |
|
15 | 15 | public static final int NEWS = 0; |
16 | | - public static final int LOGIN = 1; |
17 | | - public static final int LOGOUT = 2; |
18 | | - public static final int USERINFO = 3; |
19 | | - public static final int TOPTEN = 4; |
20 | | - public static final int USER_MEDIA_LIST = 5; |
21 | | - public static final int MEDIA_LIST = 6; |
22 | | - public static final int MEDIA_SEARCH = 7; |
23 | | - |
24 | | - public static final int INFO_ENTRY_CORE = 20; |
25 | | - public static final int INFO_ENTRY_SYNONYM = 21; |
26 | | - public static final int INFO_ENTRY_SEASON = 22; |
27 | | - |
28 | | - public static final int MESSENGER_CONFERENCES = 30; |
29 | | - public static final int MESSENGER_MESSAGES = 31; |
30 | | - public static final int MESSENGER_SEND_MESSAGE = 32; |
31 | | - public static final int MESSENGER_CONFERENCE_CONSTANTS = 33; |
32 | | - public static final int MESSENGER_CONFERENCE_INFO = 34; |
33 | | - |
34 | | - public static final int CONFERENCES = 100; |
35 | | - public static final int CHAT = 101; |
36 | | - public static final int SEND_MESSAGE = 102; |
| 16 | + |
| 17 | + public static final int LOGIN = 10; |
| 18 | + public static final int LOGOUT = 11; |
| 19 | + |
| 20 | + public static final int USER_INFO = 20; |
| 21 | + public static final int USER_TOPTEN = 21; |
| 22 | + public static final int USER_MEDIA_LIST = 22; |
| 23 | + |
| 24 | + public static final int MEDIA_LIST = 30; |
| 25 | + public static final int MEDIA_SEARCH = 31; |
| 26 | + |
| 27 | + public static final int INFO_ENTRY_CORE = 40; |
| 28 | + public static final int INFO_ENTRY_SYNONYM = 41; |
| 29 | + public static final int INFO_ENTRY_SEASON = 42; |
| 30 | + |
| 31 | + public static final int MESSENGER_CONFERENCES = 50; |
| 32 | + public static final int MESSENGER_MESSAGES = 51; |
| 33 | + public static final int MESSENGER_SEND_MESSAGE = 52; |
| 34 | + public static final int MESSENGER_CONFERENCE_CONSTANTS = 53; |
| 35 | + public static final int MESSENGER_CONFERENCE_INFO = 54; |
37 | 36 |
|
38 | 37 | /** |
39 | 38 | * An annotation representing all the different tags. |
40 | 39 | */ |
41 | | - @IntDef({LOGIN, NEWS, LOGOUT, USERINFO, TOPTEN, CONFERENCES, CHAT, SEND_MESSAGE, |
42 | | - USER_MEDIA_LIST, MEDIA_LIST, MEDIA_SEARCH, |
43 | | - INFO_ENTRY_CORE, INFO_ENTRY_SYNONYM, INFO_ENTRY_SEASON, |
44 | | - MESSENGER_CONFERENCES, MESSENGER_MESSAGES, MESSENGER_SEND_MESSAGE, |
45 | | - MESSENGER_CONFERENCE_CONSTANTS, MESSENGER_CONFERENCE_INFO}) |
| 40 | + @IntDef({LOGIN, NEWS, LOGOUT, USER_INFO, USER_TOPTEN, USER_MEDIA_LIST, MEDIA_LIST, MEDIA_SEARCH, |
| 41 | + INFO_ENTRY_CORE, INFO_ENTRY_SYNONYM, INFO_ENTRY_SEASON, MESSENGER_CONFERENCES, |
| 42 | + MESSENGER_MESSAGES, MESSENGER_SEND_MESSAGE, MESSENGER_CONFERENCE_CONSTANTS, |
| 43 | + MESSENGER_CONFERENCE_INFO}) |
46 | 44 | @Retention(RetentionPolicy.SOURCE) |
47 | 45 | @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER}) |
48 | 46 | public @interface ConnectionTag { |
|
0 commit comments