Guest User

Untitled

a guest
Feb 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import java.nio.channels.SocketChannel;
  2.  
  3. public class ChangeRequest {
  4. public static final int REGISTER = 1;
  5. public static final int CHANGEOPS = 2;
  6.  
  7. public SocketChannel socket;
  8. public int type;
  9. public int ops;
  10.  
  11. public ChangeRequest(SocketChannel socket, int type, int ops) {
  12. this.socket = socket;
  13. this.type = type;
  14. this.ops = ops;
  15. }
  16. }
Add Comment
Please, Sign In to add comment