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

source: tmcsimulator/trunk/src/tmcsim/cadsimulator/paramicscontrol/ParamicsReader.java @ 2

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

Initial Import of project files

RevLine 
1package tmcsim.cadsimulator.paramicscontrol;
2
3import java.util.logging.Logger;
4
5import org.w3c.dom.Node;
6
7/**
8 * ParamicsReader is an abstract class to define objects that may
9 * read data from the Paramics Communicator.  Each ParamicsWriter
10 * is identified by a unique id.  The reader is assigned a target file
11 * that will be read from and the duration (in seconds) between reads.
12 * All implementing Readers must implement the receive() method to
13 * parse the XML data that is received from the ParamicsCommunicator.
14 *
15 * @author Matthew Cechini
16 * @version
17 */
18public abstract class ParamicsReader {
19   
20    /** Error Logger */
21    protected static Logger paramLogger = Logger.getLogger("tmcsim.cadsimulator.paramicscontrol");
22   
23    /** Unique identifier for the reader. */
24    public String readerID   = null;
25
26    /** Interval (in seconds) between reads. */
27    public String interval   = null;
28   
29    /** Target file being read by the ParamicsCommunicator. */
30    public String targetFile = null;
31   
32    /** Abstract method to receive a XML Node object containing message data.*/
33    public abstract void receive(Node rxMessage);
34}
Note: See TracBrowser for help on using the repository browser.