source: DCWoRMS/trunk/src/test/EventManager.java @ 776

Revision 776, 886 bytes checked in by wojtekp, 12 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package test;
2
3import gridsim.GridSimCore;
4
5import java.util.Properties;
6
7import schedframe.exceptions.ModuleException;
8import schedframe.scheduling.plugin.grid.Module;
9import schedframe.scheduling.plugin.grid.ModuleType;
10
11public class EventManager extends GridSimCore implements Module{
12
13        public EventManager(String name) throws Exception {
14                super(name, 1);
15        }
16
17        public void send(String entityName, double delay, int tag, Object data){
18                super.send(entityName, delay, tag, data);
19        }
20       
21        public void send(int destId, double delay, int tag){
22                super.send(destId, delay, tag);
23        }
24       
25        public void send(int destId, double delay, int tag, Object data){
26                super.send(destId, delay, tag, data);
27        }
28       
29        public void init(Properties properties) throws ModuleException {
30        }
31
32        public void dispose() throws ModuleException {
33        }
34
35        public ModuleType getType() {
36                return ModuleType.EVENT_MANAGER;
37        }
38
39}
Note: See TracBrowser for help on using the repository browser.