Revision 776,
886 bytes
checked in by wojtekp, 12 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package test; |
---|
2 | |
---|
3 | import gridsim.GridSimCore; |
---|
4 | |
---|
5 | import java.util.Properties; |
---|
6 | |
---|
7 | import schedframe.exceptions.ModuleException; |
---|
8 | import schedframe.scheduling.plugin.grid.Module; |
---|
9 | import schedframe.scheduling.plugin.grid.ModuleType; |
---|
10 | |
---|
11 | public 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.