JMACS

org.jmacs.pd
Interface ProgInfo

All Superinterfaces:
Serializable

public interface ProgInfo
extends Serializable

information about any IProgram a Device is running or has run.

Version:
$Id: ProgInfo.java 2766 2008-02-09 14:07:00Z rob $
Author:
Rob Dickens

Method Summary
 String classname()
          returns fully-qualified name of program class.
 String codebase()
          returns codebase used to load program class.
 String desc()
          returns program description, as returned by its Object.toString().
 String errMsg()
          returns the error message if an exception was thrown.
 long eventTime()
          returns the time at which the change to the current program state occurred.
 int runId()
          identifies the particular run.
 long startTime()
          returns the time at which the program was started.
 byte state()
          returns the state of the program (see IProgram.States).
 

Method Detail

classname

String classname()
returns fully-qualified name of program class.


codebase

String codebase()
returns codebase used to load program class.


desc

String desc()
returns program description, as returned by its Object.toString().


errMsg

String errMsg()
returns the error message if an exception was thrown.


runId

int runId()
identifies the particular run.

Returns:
0 the first time a program is run, incremented thereafter.

startTime

long startTime()
returns the time at which the program was started.

Returns:
milliseconds since epoch

eventTime

long eventTime()
returns the time at which the change to the current program state occurred. See IProgram.States.

Returns:
milliseconds since epoch

state

byte state()
returns the state of the program (see IProgram.States).

Returns:
program state

JMACS

jmacs.org