SCCT.JavaSubscriber
Class SCCT_AnalogDataFilter

java.lang.Object
  extended by SCCT.JavaSubscriber.SCCT_AbstractPackage
      extended by SCCT.JavaSubscriber.SCCT_AbstractDataPackage
          extended by SCCT.JavaSubscriber.SCCT_Filter
              extended by SCCT.JavaSubscriber.SCCT_AnalogDataFilter

public class SCCT_AnalogDataFilter
extends SCCT_Filter

This class represents an analog data filter.


Constructor Summary
SCCT_AnalogDataFilter()
           
 
Method Summary
 void selectChannels(int[] channels)
          Selects the channel indexes in the array.
 void selectChannels(int from, int to)
          Selects the channels in the specified range.
 void selectSourcers(int[] sources)
          Selects the source ids in the array.
 void setQuery(java.lang.String query)
          he query syntax is: c1- c2//s1,s2 or alternatively c3,c4//s1,s2.
 
Methods inherited from class SCCT.JavaSubscriber.SCCT_Filter
getFilterId
 
Methods inherited from class SCCT.JavaSubscriber.SCCT_AbstractDataPackage
getSourceDescription, getSourceId
 
Methods inherited from class SCCT.JavaSubscriber.SCCT_AbstractPackage
getCalendar, getPackageNumber
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCCT_AnalogDataFilter

public SCCT_AnalogDataFilter()
Method Detail

selectChannels

public void selectChannels(int[] channels)
Selects the channel indexes in the array.

Parameters:
channels - An array of int containing the channel indexes to select.

selectSourcers

public void selectSourcers(int[] sources)
Selects the source ids in the array.

Parameters:
sources - An array of int containing the source ids to select.

selectChannels

public void selectChannels(int from,
                           int to)
Selects the channels in the specified range.

Parameters:
from - The starting point from which rows are selected.
to - The ending point to which rows are selected.

setQuery

public void setQuery(java.lang.String query)
he query syntax is: c1- c2//s1,s2 or alternatively c3,c4//s1,s2. In the first case are selected the channels from c1 to c2. In the second case, instead, the channels c3 and c4 only are selected. In both cases the sources s1 and s2 are selected. The subscriber library doesn't control query syntax, so, it may be overlooked by publisher if it has a wrong syntax.