pops.ale.engine.input.connectors
Class PsionCaenChannel

java.lang.Object
  extended by pops.ale.engine.input.RPChannel
      extended by pops.ale.engine.input.connectors.PsionCaenChannel

public class PsionCaenChannel
extends RPChannel

Psion CAEN connector.

Author:
rdagher

Field Summary
 
Fields inherited from class pops.ale.engine.input.RPChannel
isDefaultTriggerLauncherInstalled
 
Constructor Summary
PsionCaenChannel()
          Constructor
PsionCaenChannel(boolean bench)
           
 
Method Summary
 void clean()
          Cleanup at end.
 ECInitiationCondition getInitCondition()
          Determines the condition that started the reading process.
 ECTrigger getInitTrigger()
          Determines what trigger started the reading process.
 ECTerminationCondition getTermCondition()
          Determines the condition that stopped the reading process.
 ECTrigger getTermTrigger()
          Determines what trigger stopped the reading process.
 boolean hasTags()
          Indicates if channel has more tags to read.
 void init(java.lang.String readerName, ECSpec spec)
          Set up the communication channel.
 boolean isDone()
          Indicates if channel has done receiving all tags due to a termination condition.
 Tag nextTag()
          Blocking read access to get tag data array containing the EPC code.
 void start()
          Activates channel and starts acquisition process.
 
Methods inherited from class pops.ale.engine.input.RPChannel
killDefaultTriggerLauncher, startDefaultTriggerLauncher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PsionCaenChannel

public PsionCaenChannel(boolean bench)

PsionCaenChannel

public PsionCaenChannel()
Constructor

Method Detail

clean

public void clean()
Description copied from class: RPChannel
Cleanup at end.

Specified by:
clean in class RPChannel

getInitCondition

public ECInitiationCondition getInitCondition()
Description copied from class: RPChannel
Determines the condition that started the reading process.

Specified by:
getInitCondition in class RPChannel
Returns:

getInitTrigger

public ECTrigger getInitTrigger()
Description copied from class: RPChannel
Determines what trigger started the reading process.

Specified by:
getInitTrigger in class RPChannel
Returns:

getTermCondition

public ECTerminationCondition getTermCondition()
Description copied from class: RPChannel
Determines the condition that stopped the reading process.

Specified by:
getTermCondition in class RPChannel
Returns:

getTermTrigger

public ECTrigger getTermTrigger()
Description copied from class: RPChannel
Determines what trigger stopped the reading process.

Specified by:
getTermTrigger in class RPChannel
Returns:

hasTags

public boolean hasTags()
Description copied from class: RPChannel
Indicates if channel has more tags to read.

Specified by:
hasTags in class RPChannel

init

public void init(java.lang.String readerName,
                 ECSpec spec)
Description copied from class: RPChannel
Set up the communication channel.

Specified by:
init in class RPChannel
Parameters:
readerName - the name of the reader to connect.
spec - the ECSpec object containing the following information :
filtering, data selection, and triggers. If null, the channel shall perform the initial setup of the reader (low level.).

isDone

public boolean isDone()
Description copied from class: RPChannel
Indicates if channel has done receiving all tags due to a termination condition.

Specified by:
isDone in class RPChannel

nextTag

public Tag nextTag()
Description copied from class: RPChannel
Blocking read access to get tag data array containing the EPC code.

Specified by:
nextTag in class RPChannel
Returns:
the tag array of bytes of the TAG

start

public void start()
Description copied from class: RPChannel
Activates channel and starts acquisition process.

Specified by:
start in class RPChannel