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 |
Line | |
---|---|
1 | package vnsim.core; |
2 | |
3 | import vnsim.core.events.Event; |
4 | import vnsim.core.events.SendEvent; |
5 | |
6 | |
7 | public class SendEventProcessingThread implements Runnable{ |
8 | |
9 | SendEvent e; |
10 | Engine engine; |
11 | |
12 | |
13 | public SendEventProcessingThread(Event e, Engine engine){ |
14 | this.e=(SendEvent)e; |
15 | this.engine=engine; |
16 | |
17 | } |
18 | |
19 | public void run() { |
20 | |
21 | engine.playEvent(e); |
22 | |
23 | } |
24 | } |
Note: See TracBrowser
for help on using the repository browser.