de.wagner_ibw.appl
Class IowBatch

java.lang.Object
  |
  +--de.wagner_ibw.appl.IowBatch
All Implemented Interfaces:
IowPortChangeListener

public class IowBatch
extends java.lang.Object
implements IowPortChangeListener

This simple application starts a executable if the specified bit on port chages its state.

Author:
Thomas Wagner

Field Summary
private static java.lang.String batch
           
private static int bit
           
private static int chip
           
private static Iow24 dev24
           
private static Iow40 dev40
           
private static IowFactory devs
           
private static int port
           
private static boolean state
           
 
Constructor Summary
IowBatch()
           
 
Method Summary
private  void init()
           
static void main(java.lang.String[] args)
           
 void portChanged(IowPort cPort)
           
private static void usage(java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

batch

private static java.lang.String batch

chip

private static int chip

port

private static int port

bit

private static int bit

devs

private static IowFactory devs

dev24

private static Iow24 dev24

dev40

private static Iow40 dev40

state

private static boolean state
Constructor Detail

IowBatch

public IowBatch()
Method Detail

init

private void init()

usage

private static void usage(java.lang.String msg)

main

public static void main(java.lang.String[] args)

portChanged

public void portChanged(IowPort cPort)
Specified by:
portChanged in interface IowPortChangeListener