source:
proiecte/ptvs/src/vnsim/core/SendEventProcessingThread.java
@
112
Last change on this file since 112 was 76, checked in by , 14 years ago | |
---|---|
File size: 377 bytes |
Rev | Line | |
---|---|---|
[41] | 1 | package vnsim.core; |
2 | ||
3 | import vnsim.core.events.Event; | |
4 | import vnsim.core.events.SendEvent; | |
5 | ||
6 | ||
[76] | 7 | public class SendEventProcessingThread implements Runnable{ |
[41] | 8 | |
9 | SendEvent e; | |
[76] | 10 | Engine engine; |
[41] | 11 | |
12 | ||
[76] | 13 | public SendEventProcessingThread(Event e, Engine engine){ |
[41] | 14 | this.e=(SendEvent)e; |
[76] | 15 | this.engine=engine; |
[41] | 16 | |
17 | } | |
18 | ||
19 | public void run() { | |
20 | ||
[76] | 21 | engine.playEvent(e); |
[41] | 22 | |
23 | } | |
[76] | 24 | } |
Note: See TracBrowser
for help on using the repository browser.