Guest User

Untitled

a guest
Dec 6th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. public class MessageID {
  2. public static final int REQUEST_LISTING = 50;
  3. public static final int RESPONSE_LIST_START = 51;
  4. public static final int RESPONSE_LIST_FILE = 52;
  5. public static final int RESPONSE_LIST_DIR = 53;
  6. public static final int RESPONSE_LIST_END = 54;
  7. public static final int RESPONSE_LIST_FAIL = 55;
  8.  
  9. public static final int RESPONSE_OK = 100;
  10.  
  11. public static final int REQUEST_AUTHENTICATION_USER = 200;
  12. public static final int REQUEST_AUTHENTICATION_PASS = 201;
  13. public static final int RESPONSE_AUTHENTICATION_SUCCESS = 202;
  14. public static final int RESPONSE_AUTHENTICATION_FAILURE = 203;
  15.  
  16. public static final int REQUEST_CHANGE_CONNETION_MODE_TO_COMMUNICATOR = 300;
  17. public static final int REQUEST_CHANGE_CONNETION_MODE_TO_STREAMER = 301;
  18. public static final int RESPONSE_CHANGE_CONNECTION_MODE_TO_COMMUNICATOR = 302;
  19. public static final int RESPONSE_CHANGE_CONNECTION_MODE_TO_STREAMER = 303;
  20.  
  21. public static final int REQUEST_FILE = 400;
  22. public static final int RESPONSE_FILE = 401;
  23.  
  24. public static final int RESPONSE_COMMAND_UNKNOWN = 500;
  25. }
Add Comment
Please, Sign In to add comment