Advertisement
Guest User

Untitled

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