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