Warning: Can't use blame annotator:
svn blame failed on trunk/src/tmcsim/paramicscommunicator/FileRegUpdate.java: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/trunk/src/tmcsim/paramicscommunicator/FileRegUpdate.java @ 2

Revision 2, 1.3 KB checked in by jdalbey, 10 years ago (diff)

Initial Import of project files

RevLine 
1package tmcsim.paramicscommunicator;
2
3import tmcsim.paramicscommunicator.FileIOUpdate.IO_TYPE;
4
5/**
6 * FileRegUpdate is an update class used to record registration operations
7 * performed by the ParamicsCommunicator.
8 * 
9 * @author Matthew Cechini
10 * @version
11 */
12public class FileRegUpdate {
13
14    /**
15     * Enumeration of registration actions.
16     * @author Matthew Cechini
17     */
18    public static enum REG_TYPE { REGISTER, UNREGISTER };
19   
20    /** I/O action type performed by this Paramics FileReader or FileWriter */
21    public IO_TYPE  ioType;
22
23    /** Registration action performed. */
24    public REG_TYPE regType;
25
26    /** ID of FileReader or FileWriter. */
27    public String   ioID;
28
29    /** Target file to read from or write to. */
30    public String   targetFile;
31
32    /** Interval (in seconds) that the I/O action is performed. */
33    public Integer  ioInterval;
34   
35    /**
36     * Constructor.
37     *
38     * @param io I/O action type.
39     * @param reg Registration action type.
40     * @param id   I/O object id.
41     * @param file Target file for I/O operation.
42     * @param interval Interval for I/O action.
43     */
44    public FileRegUpdate(IO_TYPE io, REG_TYPE reg, String id, String file, Integer interval) {
45        ioType  = io;
46        ioID    = id;
47        regType = reg;
48        targetFile = file;
49        ioInterval = interval;
50    }
51   
52}
Note: See TracBrowser for help on using the repository browser.