1 19 package org.lucane.applications.slideshow.net; 20 21 import java.io.Serializable ; 22 23 public class SlideAction implements Serializable 24 { 25 public static final int ACCEPT_SHOW = 0; 27 public static final int REJECT_SHOW = 1; 28 29 public static final int SEND_USER_LIST = 2; 31 public static final int SEND_IMAGE = 3; 32 33 public static final int DISCONNECT = 4; 35 36 37 39 private int action; 40 private Object param; 41 42 public SlideAction(int action, Object param) 43 { 44 this.action = action; 45 this.param = param; 46 } 47 48 public int getAction() 49 { 50 return this.action; 51 } 52 53 public Object getParam() 54 { 55 return this.param; 56 } 57 } | Popular Tags |