1 6 7 package com.quikj.application.web.talk.plugin; 8 9 import java.util.*; 10 import com.quikj.server.framework.*; 11 12 16 public class ActionEvent implements AceMessageInterface 17 { 18 19 20 protected ActionEvent (Object user_parm) 21 { 22 userParm = user_parm; 23 } 24 25 public String messageType() 26 { 27 return "ApplicationTalkActionEvent"; 28 } 29 30 public int actionListSize() 31 { 32 return actionList.size(); 33 } 34 35 public EndPointActionInterface[] getActionList() 36 { 37 int size = actionList.size(); 38 EndPointActionInterface[] array = new EndPointActionInterface[size]; 39 for (int i = 0; i < array.length; i++) 40 { 41 array[i] = (EndPointActionInterface)actionList.get(i); 42 } 43 44 return array; 45 } 47 48 public void addAction (EndPointActionInterface action) 49 { 50 actionList.add (action); 51 } 52 53 public Object getUserParm() 54 { 55 return userParm; 56 } 57 58 private ArrayList actionList = new ArrayList(); 59 private Object userParm; 60 } 61 | Popular Tags |