public class JANOS extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BOOT_SYSLOG
BOOT_SYSLOG Used in system logging to specify the destination of the log entry.
|
static int |
INPUT_COND_0
The digital input is forced to the OFF condition.
|
static int |
INPUT_COND_1
The digital input is forced to the ON condition.
|
static int |
INPUT_COND_INVERT
The digital input is inverted.
|
static int |
INPUT_COND_NONE
The digital input is processed unchanged.
|
static int |
JNIOR_SYSLOG
JNIOR_SYSLOG Used in system logging to specify the destination of the log entry.
|
static int |
REMOTE_SYSLOG
REMOTE_SYSLOG Used in system logging to specify the destination of the log entry.
|
static int |
SYSLOG_ALERT
SYSLOG_ALERT Optional RFC 5424 Severity Level specified in System Logging.
|
static int |
SYSLOG_CRITICAL
SYSLOG_CRITICAL Optional RFC 5424 Severity Level specified in System Logging.
|
static int |
SYSLOG_DEBUG
SYSLOG_DEBUG Optional RFC 5424 Severity Level specified in System Logging.
|
static int |
SYSLOG_EMERGENCY
SYSLOG_EMERGENCY Optional RFC 5424 Severity Level specified in System Logging.
|
static int |
SYSLOG_ERROR
SYSLOG_ERROR Optional RFC 5424 Severity Level specified in System Logging.
|
static int |
SYSLOG_INFO
SYSLOG_INFO Optional RFC 5424 Severity Level specified in System Logging.
|
static int |
SYSLOG_NOTICE
SYSLOG_NOTICE Optional RFC 5424 Severity Level specified in System Logging.
|
static int |
SYSLOG_WARNING
SYSLOG_WARNING Optional RFC 5424 Severity Level specified in System Logging.
|
Modifier and Type | Method and Description |
---|---|
static int |
countRegistered(String guid)
Checks for processes with the registered GUID.
|
static int |
CRC16(byte[] data,
int offset,
int count,
int seed)
Perform CRC16 on an array of data elements based on the provided seed.
|
static int |
CRC32(byte[] data,
int offset,
int count,
int seed)
Perform CRC32 on an array of data elements based on the provided seed.
|
static int |
CRC8(byte[] data,
int offset,
int count,
int seed)
Perform CRC8 on an array of data elements based on the provided seed.
|
static void |
execute(String commandLine,
Object in,
Object out,
Object err,
Object env,
boolean blocking)
Deprecated.
Use
Runtime#exec(java.lang.String, java.lang.Boolean) . |
static void |
flashStatusLED()
Flashes that status LED (yellow/orange LED)
Extends the flash sequence for the status LED.
|
static double |
get10vIn(int chan)
Deprecated.
Use
SensorPort.get10vIn(int) instead. |
static double |
get10vOut(int chan)
Deprecated.
Use
SensorPort.get10vOut(int) instead. |
static double |
get420In(int chan)
Deprecated.
Use
SensorPort.get420In(int) instead. |
static double |
get420Out(int chan)
Deprecated.
Use
SensorPort.get420Out(int) instead. |
static long[] |
getAlarmingDeviceList()
Deprecated.
Use
SensorPort.getAlarmingDeviceList() instead. |
static Hashtable |
getCurrentEnvironment()
Returns a copy of the current environment.
|
static byte |
getCurrentUID()
Deprecated.
Use
User.getCurrentUID() if applications need to respond based upon
user permissions. |
static int |
getDeviceType(long addr)
Deprecated.
Use
SensorPort.getDeviceType(long) instead. |
static long[] |
getExternalDeviceList()
Deprecated.
Use
SensorPort.getExternalDeviceList() instead. |
static int |
getFreeFlash()
Returns the amount of Flash memory remaining.
|
static int |
getFreeRAM()
Returns the amount of Heap memory remaining.
|
static String |
getFromCurrentEnvironment(String key)
Gets the value of the given key from the current environment.
|
static int |
getInputConditioning(int chan)
Retrieves the current input conditioning.
|
static int |
getInputCounter(int chan)
Obtains the counter for the specified Digital Input.
|
static int |
getInputStates()
Obtains the state of all digital inputs as a single bit-mapped integer.
|
static long |
getIoSignature()
Use this method to determine if internal I/O has changed.
|
static int |
getOutputStates()
Obtains the state of all relay outputs as a single bit-mapped integer.
|
static int |
getPOR()
Retrieves the Power-On-Reset (POR) count.
|
static int |
getProcessID()
Returns the process ID for the current process.
|
static int[] |
getProcessIDs()
Obtain active process ID list.
|
static String |
getProcessName(int procid)
Returns the process identification string for the process ID provided.
|
static String[] |
getProcessTable()
Provides Process Table detail.
|
static int[] |
getRegistered(String guid)
Identifies a process with the registered GUID.
|
static boolean |
getRegistryBoolean(String key,
boolean bDefault)
Returns the boolean state of the specified Registry key.
|
static double |
getRegistryDouble(String key,
double dDefault)
Returns the double value from the specified Registry key.
|
static int |
getRegistryInt(String key,
int nDefault)
Returns the integer value from the specified Registry key.
|
static String[] |
getRegistryKey(String key)
Reads the complete string array associated with the specified Registry key.
|
static long |
getRegistryLastModified(String key)
This method returns the last modified time of a given registry key or registry node.
|
static String[] |
getRegistryList(String key)
This lists the content of a node in the Registry tree.
|
static String |
getRegistryString(String key,
String sDefault)
Reads the primary string associated with the specified Registry key.
|
static double |
getRtdIn(int chan)
Deprecated.
Use
SensorPort.getRtdIn(int) instead. |
static int |
getSerialNumber()
Retrieves the unit's Serial Number.
|
static Hashtable |
getSystemEnvironment()
Returns a copy of the system environment.
|
static String[] |
getTaskTable()
Deprecated.
Use
getProcessTable() . This will be removed in a future release. |
static int[] |
getTaskTableIDs()
Deprecated.
Use
getProcessIDs() . This will be removed in a future release. |
static double |
getTemp(int chan)
Deprecated.
Use
SensorPort.getTemp(int) instead. |
static String |
getTimeZone()
Returns the current timezone.
|
static int |
getTotalRAM()
Returns the total amount of Heap memory.
|
static long |
getUsageMeter(int chan)
Obtains the Usage for the specified Digital Input or Relay Output.
|
static String |
getVersion()
Retrieves the JANOS Firmware Version as a formatted string.
|
static int[] |
getVersionNum()
Retrieves the JANOS version information.
|
static void |
incInputCounter(int chan)
Increments counter for the specified Digital Input.
|
static boolean |
isbusyStatusLED() |
static boolean |
isInputLatched(int chan)
Obtains the latched state for the specified Digital Input.
|
static boolean |
isInputSet(int chan)
Obtains the state of a specified Digital Input.
|
static boolean |
isLatching(int chan)
Obtains the latching mode set for the specified Digital Input.
|
static boolean |
isOutputSet(int chan)
Obtains the state of a specified Relay Output.
|
static boolean |
isProcessRunning(int pid)
Used to determine if the process associated with the supplied ID is
actually running.
|
static boolean |
isTaskRunning(int taskid)
Deprecated.
Use
isProcessRunning(int) . This will be removed in a future release. |
static void |
killProcess(int pid)
Terminates the process associated with the supplied ID.
|
static void |
killTask(int taskID)
Deprecated.
Use
killProcess(int) . This will be removed in a future release. |
static void |
killTask(int taskID,
boolean force)
Deprecated.
Use
killProcess(int) . This will be removed in a future release. |
static void |
morseStatusLED(String msg,
int repeat)
Display Morse Code message.
|
static void |
pulseStatusLED(int ontime,
int offtime,
int count)
Pulses the status LED
|
static int[] |
readAnalogInputs(long addr)
Deprecated.
Use
SensorPort.readAnalogInputs(long) instead. |
static byte[] |
readDeviceBlock(long addr)
Deprecated.
Use
SensorPort.readDeviceBlock(long) instead. |
static int |
registerProcess(String guid)
Registers a GUID for the current process with the operating system.
|
static void |
resetInputCounter(int chan)
Resets the counter for the specified Digital Input.
|
static void |
resetLatchedInput(int chan)
Clears the latched state of a digital input.
|
static void |
resetUsageMeter(int chan)
Resets the usage meter for the specified channel.
|
static void |
sendMail(String sEmailBlock,
String sSubject,
String sMessage)
Sends the defined email message.
|
static void |
set10vOut(int chan,
double value)
Deprecated.
Use
SensorPort.set10vOut(int, double) instead. |
static void |
set420Out(int chan,
double value)
Deprecated.
Use
SensorPort.set420Out(int, double) instead. |
static void |
setCtrlC(boolean enab)
Turns on and off the ability to interrupt the process using Ctrl-C.
|
static void |
setInCurrentEnvironment(String key,
String value)
Sets the value of the key in the current environment.
|
static void |
setInputConditioning(int chan,
int mode)
Sets the desired input conditioning.
|
static void |
setInputCounter(int chan,
int value)
Sets the counter for the specified Digital Input.
|
static boolean |
setOutputPulsed(int bits,
int mask,
int milliseconds)
Establishes a temporary condition for the specified output relays.
|
static void |
setOutputRelay(int chan,
boolean state)
Establish the state of the specified output relay.
|
static void |
setOutputStates(int bits,
int mask)
Establishes the condition for the specified output relays.
|
static boolean |
setRegistryKey(String key,
String[] values)
Defines the content of a Registry key.
|
static boolean |
setRegistryString(String key,
String value)
Defines the content of a Registry key.
|
static void |
setSystemKey(String key,
String value)
Deprecated.
Use
setRegistryString(java.lang.String, java.lang.String) . This will be removed in a
future release. |
static void |
syslog(String message)
Makes a timestamped entry in the jniorsys.log file.
|
static void |
syslog(String message,
int level)
Makes a timestamped entry in the jniorsys.log file.
|
static void |
syslog(String message,
int level,
int logs)
Makes a timestamped entry in either the jniorboot.log file or the
jniorsys.log file if selected.
|
static long |
uptimeMillis()
Gets the number of milliseconds since system boot.
|
static void |
writeDeviceBlock(long addr,
byte[] block)
Deprecated.
Use
SensorPort.writeDeviceBlock(long, byte[]) instead. |
public static final int SYSLOG_EMERGENCY
public static final int SYSLOG_ALERT
public static final int SYSLOG_CRITICAL
public static final int SYSLOG_ERROR
public static final int SYSLOG_WARNING
public static final int SYSLOG_NOTICE
public static final int SYSLOG_INFO
public static final int SYSLOG_DEBUG
public static final int JNIOR_SYSLOG
public static final int REMOTE_SYSLOG
public static final int BOOT_SYSLOG
public static final int INPUT_COND_NONE
public static final int INPUT_COND_INVERT
public static final int INPUT_COND_0
public static final int INPUT_COND_1
public static int getPOR()
public static String getVersion()
getVersionNum()
public static int[] getVersionNum()
getVersion()
. This will include
[BUILD].[COMPILE] values. For example "v1.0.8-rc2.1" indicating build 2 of a release candidate. The STATUS field
indicates the type of build where ALPHA=0, BETA=1, RELEASE CANDIDATE=2 and RELEASE=3. The BUILD and COMPILE
numbers are valid for all versions but not normally displayed with released versions.getVersion()
public static int getSerialNumber()
@Deprecated public static byte getCurrentUID()
User.getCurrentUID()
if applications need to respond based upon
user permissions.public static Hashtable getCurrentEnvironment()
public static String getFromCurrentEnvironment(String key)
key
- String
containing a key to querynull
if the key is not set in the current environment.public static void setInCurrentEnvironment(String key, String value)
key
- String
containing a key to setvalue
- String
containing the new value for the keypublic static Hashtable getSystemEnvironment()
getCurrentEnvironment()
getCurrentEnvironment()
@Deprecated public static void execute(String commandLine, Object in, Object out, Object err, Object env, boolean blocking)
Runtime#exec(java.lang.String, java.lang.Boolean)
.Runtime.exec(java.lang.String)
be used instead.commandLine
- The command line including any parameters needed for that command.in
- Unused. Can be NULL.out
- Unused. Can be NULL.err
- Unused. Can be NULL.env
- Unused. Can be NULL.blocking
- Set true if we are to wait for command completion.public static int getFreeRAM()
public static int getTotalRAM()
public static int getFreeFlash()
public static long uptimeMillis()
System.currentTimeMillis()
public static String getTimeZone()
public static void syslog(String message)
message
- String
containing the text to be logged.public static void syslog(String message, int level)
message
- String
containing the text to be logged.level
- one of 8 SYSLOG severity levelspublic static void syslog(String message, int level, int logs)
message
- String
containing the text to be logged.level
- one of 8 SYSLOG severity levelslogs
- bitmapped log destination specifierpublic static void sendMail(String sEmailBlock, String sSubject, String sMessage)
sEmailBlock
- valid Registry key string specifying the email blocksSubject
- Default subject line to use if none is defined by the email block.sMessage
- Default message content to use if none is defined by the email block.public static long getIoSignature()
public static int getInputStates()
public static int getOutputStates()
For the Model 410 the least significant 8 bits D0-D7 represent the state of ROUT1 through ROUT8. Bits D8-D11 will reflect the status of an option external 4ROUT module for relay outputs ROUT9 through ROUT12. A second external 4ROUT module if present is represented by bits D12-D15 for ROUT13 through ROUT16.
For the Model 412 the least significant 12 bits D0-D11 represent the state of ROUT1 through ROUT12. Bits D12-D15 will reflect the status of an option external 4ROUT module for relay outputs ROUT13 through ROUT16.
Note that some relays may be hardware jumper configured for Normally-Closed operation. These are set to Normally-Open by default. If a relay is set for normally-closed operation a '1' will indicate the OPRN condition.
public static void setOutputStates(int bits, int mask) throws IOException
bits
- Integer where the bits indicate the desired output condition. A '1' resulting in a
closed relaymask
- Integer where the indicate which output relays are to be affected by the command. Those relays
selected by a '1' will change to the state indicated by the bits parameter. Those corresponding
with '0' bits will remain unchanged.IOException
- if port is openpublic static boolean setOutputPulsed(int bits, int mask, int milliseconds) throws IOException
bits
- Integer where the least significant eight bits indicate the desired output condition. A '1' resulting in a
closed relaymask
- Integer where the least significant eight bits indicate which output relays are to be affected by the
command. Those relays selected by a '1' will change to the state indicated by the data parameter. Those corresponding
with '0' bits will remain unchanged.milliseconds
- Integer specifying the duration that the new condition will be held. The pulse duration is to within
1 millisecond +0.2/-0.8true
if the pulse is successfully executed and false
otherwise.IOException
- if port is openpublic static boolean isInputSet(int chan)
chan
- 0-based value specifying a digital input channeltrue
if the physical Digital Input is ON. This indicates that there is more than 2VDC
across the input terminals. The associated LED will be illuminated. Returns false
otherwise.
The channel is 0-based with 0 specifying DIN1, 1 for DIN2, etc. The Model 410 uses channels 0-7 as it supports DIN1 through DIN8. The Model 412 has only 4 digital inputs which are specified as channels 0-3
public static boolean isOutputSet(int chan)
The channel is 0-based with 0 specifying ROUT1, 1 for ROUT2, etc. The Model 410 uses channels 0-7 as it supports ROUT1 through ROUT8. The Model 412 has 12 relay outputs which are specified as channels 0-11.
Additional relay outputs may be available if external 4ROUT modules are present. For the Model 410 two external 4ROUT modules may be used. These can be addressed here as channels 8-15 representing ROUT9 through ROUT16. The Model 412 can use a single external module providing channels 12-15 for ROUT13 through ROUT16.
chan
- 0-based value specifying a relay output channeltrue
if the relay output is CLOSED. Returns false
otherwise.public static void setOutputRelay(int chan, boolean state) throws IOException
The channel is 0-based with 0 specifying ROUT1, 1 for ROUT2, etc. The Model 410 uses channels 0-7 as it supports ROUT1 through ROUT8. The Model 412 has 12 relay outputs which are specified as channels 0-11.
Additional relay outputs may be available if external 4ROUT modules are present. For the Model 410 two external 4ROUT modules may be used. These can be addressed here as channels 8-15 representing ROUT9 through ROUT16. The Model 412 can use a single external module providing channels 12-15 for ROUT13 through ROUT16.
chan
- 0-based value specifying a relay output channelstate
- true
closes the associated relay illuminating the corresponding LED. false
opens the relay. This opposite would be the case if a relay is hardware jumper configured for Normally-Closed
operation.IOException
- if port is openpublic static boolean isInputLatched(int chan)
The channel is 0-based with 0 specifying DIN1, 1 for DIN2, etc. The Model 410 uses channels 0-7 as it supports DIN1 through DIN8. The Model 412 has only 4 digital inputs which are specified as channels 0-3
chan
- 0-based value specifying a digital input channeltrue
if the digital input has been latched. The isLatching
method
is used to determine if the isInputSet
or isInputLatched
best describes the desired
digital input status. The returned state reflects the latching process regardless of the latching
configuration setting for the digital input.public static void resetLatchedInput(int chan)
The channel is 0-based with 0 specifying DIN1, 1 for DIN2, etc. The Model 410 uses channels 0-7 as it supports DIN1 through DIN8. The Model 412 has only 4 digital inputs which are specified as channels 0-3
chan
- 0-based value specifying a digital input channelpublic static int getInputCounter(int chan)
chan
- selected Digital Input (0-7)public static void resetInputCounter(int chan)
chan
- selected Digital Input (0-7)public static void setInputCounter(int chan, int value)
chan
- selected Digital Input (0-7)value
- desired value of the counter. 0 - 2^31public static void incInputCounter(int chan)
chan
- selected Digital Input (0-7)public static long getUsageMeter(int chan)
chan
- selected Digital Input (0-7) or Relay Output (8-15) where 8 corresponds to Relay Output 1 and so forth.public static void resetUsageMeter(int chan)
chan
- selected Digital Input (0-7) or Relay Output (8-15) where 8 corresponds to Relay Output 1 and so forth.public static String getRegistryString(String key, String sDefault)
key
- valid Registry key string.sDefault
- a default string that will be returned when the specified key does not exist.public static boolean getRegistryBoolean(String key, boolean bDefault)
key
- the Registry key.bDefault
- the default boolean condition to be returned when the Registry key is not defined.public static int getRegistryInt(String key, int nDefault)
key
- the Registry key.nDefault
- the default integer value to be returned when the Registry key is not defined.public static double getRegistryDouble(String key, double dDefault)
key
- the Registry key.dDefault
- the default floating point (double) value to be returned when the Registry key is not defined.public static String[] getRegistryKey(String key)
key
- valid Registry key string.public static String[] getRegistryList(String key)
key
- Registry Key prefix specifying the node to list. This is specified complete from the root of the Registry
(without prefix '/' or suffix '/').public static long getRegistryLastModified(String key)
key
- String
containing the registry key or node.long
integer.public static boolean setRegistryString(String key, String value)
key
- the Registry key.value
- the new string to be assigned to the Registry key.public static boolean setRegistryKey(String key, String[] values)
key
- the Registry key.values
- a string array defining each comma-separated entry to be assigned to the Registry key.public static boolean isLatching(int chan)
The channel is 0-based with 0 specifying DIN1, 1 for DIN2, etc. The Model 410 uses channels 0-7 as it supports DIN1 through DIN8. The Model 412 has only 4 digital inputs which are specified as channels 0-3
chan
- 0-based value specifying a digital input channeltrue
if the digital input is configured for Latching.public static int getInputConditioning(int chan)
The channel is 0-based with 0 specifying DIN1, 1 for DIN2, etc. The Model 410 uses channels 0-7 as it supports DIN1 through DIN8. The Model 412 has only 4 digital inputs which are specified as channels 0-3
chan
- 0-based value specifying a digital input channelpublic static void setInputConditioning(int chan, int mode)
The channel is 0-based with 0 specifying DIN1, 1 for DIN2, etc. The Model 410 uses channels 0-7 as it supports DIN1 through DIN8. The Model 412 has only 4 digital inputs which are specified as channels 0-3
Note that a change in conditioning for an input causes an update to the monitor packet. This does not affect counters and usage meters.
chan
- 0-based value specifying a digital input channelmode
- INPUT_COND_NONE (0) - none, INPUT_COND_INVERT (1) - invert, INPUT_COND_0 (2) - OFF,
INPUT_COND_1 (3) - ON.@Deprecated public static double getTemp(int chan) throws IOException
SensorPort.getTemp(int)
instead.chan
- channelIOException
- if port is open@Deprecated public static double get10vIn(int chan) throws IOException
SensorPort.get10vIn(int)
instead.chan
- the channel of the 10 volt input. You can have 2 external 10 volt modules giving you 8 inputs. The channel
must be 0 - 7.IOException
- if port is open@Deprecated public static double get10vOut(int chan) throws IOException
SensorPort.get10vOut(int)
instead.chan
- the channel of the 10 volt output. You can have 2 external 10 volt modules giving you 4 outputs. The channel
must be 0 - 3.IOException
- if port is open@Deprecated public static void set10vOut(int chan, double value) throws IOException
SensorPort.set10vOut(int, double)
instead.chan
- channel 0 or 1value
- percentage (0.0 to 100.0) of output levelIOException
- if port is open@Deprecated public static double get420In(int chan) throws IOException
SensorPort.get420In(int)
instead.chan
- the channel of the 4-20ma input. You can have 2 external 4-20ma modules giving you 8 inputs. The channel
must be 0 - 7.IOException
- if port is open@Deprecated public static double get420Out(int chan) throws IOException
SensorPort.get420Out(int)
instead.chan
- the channel of the 4-20ma output. You can have 2 external 4-20ma modules giving you 4 outputs. The channel
must be 0 - 3.IOException
- if port is open@Deprecated public static void set420Out(int chan, double value) throws IOException
SensorPort.set420Out(int, double)
instead.chan
- the channel of the 4-20ma input. You can have 2 external 4-20ma modules giving you 8 inputs. The channel
must be 0 - 7.value
- percentage of full scale (0.0 to 100.0)IOException
- if port is open@Deprecated public static double getRtdIn(int chan) throws IOException
SensorPort.getRtdIn(int)
instead.chan
- ?IOException
- if port is open@Deprecated public static long[] getExternalDeviceList() throws IOException
SensorPort.getExternalDeviceList()
instead.IOException
- if port is open@Deprecated public static long[] getAlarmingDeviceList() throws IOException
SensorPort.getAlarmingDeviceList()
instead.IOException
- if port is open@Deprecated public static int getDeviceType(long addr)
SensorPort.getDeviceType(long)
instead.addr
- the device address as returned by enumeration.@Deprecated public static int[] readAnalogInputs(long addr) throws IOException
SensorPort.readAnalogInputs(long)
instead.addr
- the device address as returned by enumeration. Note that full scale is 65520
for Type FD & FE 12-bit modules.IOException
- if port is open@Deprecated public static byte[] readDeviceBlock(long addr) throws IOException
SensorPort.readDeviceBlock(long)
instead.addr
- the device address as obtained by enumeration.IOException
- if port is open@Deprecated public static void writeDeviceBlock(long addr, byte[] block) throws IOException
SensorPort.writeDeviceBlock(long, byte[])
instead.addr
- the device address as obtained by enumeration.block
- the Write Device Block as defined in the v2 JNIOR Communications Protocol for the specific device type.IOException
- if port is openpublic static int CRC8(byte[] data, int offset, int count, int seed)
data
- - byte array of data elementsoffset
- - starting offset in the byte arraycount
- - count of data elements to be included in the calculationseed
- - initial CRC8 valuepublic static int CRC16(byte[] data, int offset, int count, int seed)
data
- data byte arrayoffset
- starting offset in the byte arraycount
- count of data elements to be included in the calculationseed
- initial CRC16 valuepublic static int CRC32(byte[] data, int offset, int count, int seed)
data
- data byte arrayoffset
- starting offset in the byte arraycount
- count of data elements to be included in the calculationseed
- - initial CRC32 valuepublic static int getProcessID()
public static int[] getProcessIDs()
public static String getProcessName(int procid)
procid
- process IDpublic static String[] getProcessTable()
public static boolean isProcessRunning(int pid)
pid
- process idpublic static void killProcess(int pid)
pid
- process IDpublic static void setCtrlC(boolean enab)
enab
- true (default) if interrupt is to be allowed. false to disable.public static boolean isbusyStatusLED()
public static void flashStatusLED()
public static void pulseStatusLED(int ontime, int offtime, int count)
ontime
- ?offtime
- ?count
- ?public static void morseStatusLED(String msg, int repeat)
0 --- --- --- --- --- 1 - --- --- --- --- 2 - - --- --- --- 3 - - - --- --- 4 - - - - --- 5 - - - - - 6 --- - - - - 7 --- --- - - - 8 --- --- --- - - 9 --- --- --- --- - A - --- B --- - - - C --- - --- - D --- - - E - F - - --- - G --- --- - H - - - - I - - J - --- --- --- K --- - --- L - --- - - M --- --- N --- - O --- --- --- P - --- --- - Q --- --- - --- R - --- - S - - - T --- U - - --- V - - - --- W - --- --- X --- - - --- Y --- - --- --- Z --- --- - -
msg
- ?repeat
- ?@Deprecated public static void setSystemKey(String key, String value)
setRegistryString(java.lang.String, java.lang.String)
. This will be removed in a
future release.key
- the Registry key.value
- the new string to be assigned to the Registry key.@Deprecated public static int[] getTaskTableIDs()
getProcessIDs()
. This will be removed in a future release.@Deprecated public static String[] getTaskTable()
getProcessTable()
. This will be removed in a future release.@Deprecated public static void killTask(int taskID)
killProcess(int)
. This will be removed in a future release.taskID
- Task ID of task to killIllegalArgumentException
- if task does not exist.@Deprecated public static void killTask(int taskID, boolean force)
killProcess(int)
. This will be removed in a future release.taskID
- Task ID of task to killforce
- false to request, true to demand kill.IllegalArgumentException
- if task does not exist.@Deprecated public static boolean isTaskRunning(int taskid)
isProcessRunning(int)
. This will be removed in a future release.taskid
- ID of taskpublic static int registerProcess(String guid)
guid
- String of any length that is considered unique to the processpublic static int countRegistered(String guid)
guid
- String of any length that is considered unique to the processpublic static int[] getRegistered(String guid)
guid
- String of any length that is considered unique to a process