Elexis API documentation
Version 2.1.6 as of December 11 2011

at.herzpraxis.elexis.connect.cobasmira
Class CobasMiraAction

java.lang.Object
  extended by Action
      extended by at.herzpraxis.elexis.connect.cobasmira.CobasMiraAction
All Implemented Interfaces:
AbstractConnection.ComPortListener

public class CobasMiraAction
extends Action
implements AbstractConnection.ComPortListener

Author:
Marco Descher / Herzpraxis Dr. Wolber, Goetzis, Austria

Constructor Summary
CobasMiraAction()
           
 
Method Summary
 void cancelled()
           
 void closed()
           
 void gotBreak(AbstractConnection conn)
           
 void gotData(AbstractConnection conn, byte[] data)
          Fetch lines coming from the serial connection starting with 20.
 void run()
           
 void timeout()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CobasMiraAction

public CobasMiraAction()
Method Detail

run

public void run()

gotData

public void gotData(AbstractConnection conn,
                    byte[] data)
Fetch lines coming from the serial connection starting with 20. These are incoming result values. Generate a Probe object, where the initialization of the Probe object takes care about the proper parsing of the input. If the received probe adheres to certain criteria pass it on to further processing.

Specified by:
gotData in interface AbstractConnection.ComPortListener
Parameters:
conn - , data

gotBreak

public void gotBreak(AbstractConnection conn)
Specified by:
gotBreak in interface AbstractConnection.ComPortListener

cancelled

public void cancelled()
Specified by:
cancelled in interface AbstractConnection.ComPortListener

closed

public void closed()
Specified by:
closed in interface AbstractConnection.ComPortListener

timeout

public void timeout()
Specified by:
timeout in interface AbstractConnection.ComPortListener

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis