com.ibm.rfid.premises.app.entities.reading
Class Reader

java.lang.Object
  extended by com.ibm.rfid.premises.app.entities.Device
      extended by com.ibm.rfid.premises.app.entities.reading.Reader

Deprecated. Use Device class from com.ibm.rfid.premises.entities

public class Reader
extends Device

Reader is the class used to describe a configured Reader object on an IBM WebSphere Sensor Events Server. This class provides access to the following Reader properties:

The above properties are read-only. Although they are settable using the setter functions described below, they only affect the data stored in this class instance and should only be used by the PremisesAccess class to create Reader objects found on the IBM WebSphere Sensor Events Server.

To define a reader, go to the IBM WebSphere Sensor Events Server Admin Console


Constructor Summary
Reader(BaseReader br)
          Deprecated. Base constructor, used by PremisesAccess
 
Method Summary
 java.lang.String getChannelId()
          Deprecated. Gets the channel ID of the reader
 java.lang.String getIpAddress()
          Deprecated. Gets the IP address of the reader
 java.lang.String getIpPort()
          Deprecated. Gets the IP port of the reader
 ReaderData getReaderData()
          Deprecated. gets the reader data for this particular reader object
 ReaderType getReaderType()
          Deprecated.  
 java.lang.String getReaderTypeId()
          Deprecated. Gets the reader's type ID
 java.lang.String getStatus()
          Deprecated. Gets the reader's most recent status
 java.lang.String getUserName()
          Deprecated. Gets the user name of the Printer
 void setALEFilters(java.util.Vector filters)
          Deprecated. This method will set filters to be used by the ALE spec.
 void setALEGroups(java.util.Vector groups)
          Deprecated. This method will set groups to be used by the ALE spec.
 void start()
          Deprecated. sends a start command to the location of the reader
 java.lang.String startALErdr(java.lang.String alespecnme)
          Deprecated. starts ale session on reader
 void stop()
          Deprecated. sends stop command to location of reader
 void stopALErdr(java.lang.String alespecname)
          Deprecated. stops ale session that has name of alespecname
 
Methods inherited from class com.ibm.rfid.premises.app.entities.Device
getDeviceId, getLocationId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reader

public Reader(BaseReader br)
Deprecated. 
Base constructor, used by PremisesAccess

Method Detail

start

public void start()
           throws PremisesAccessException
Deprecated. 
sends a start command to the location of the reader

Throws:
PremisesAccessException

startALErdr

public java.lang.String startALErdr(java.lang.String alespecnme)
                             throws PremisesAccessException,
                                    ALEAccessException
Deprecated. 
starts ale session on reader

Parameters:
alespecnme - ale spec name to create
Returns:
returns actual spec name used for ale session
Throws:
PremisesAccessException
ALEAccessException

stop

public void stop()
          throws PremisesAccessException
Deprecated. 
sends stop command to location of reader

Throws:
PremisesAccessException

stopALErdr

public void stopALErdr(java.lang.String alespecname)
                throws PremisesAccessException,
                       ALEAccessException
Deprecated. 
stops ale session that has name of alespecname

Parameters:
alespecname - name of ale session to be stopped
Throws:
PremisesAccessException
ALEAccessException

getUserName

public java.lang.String getUserName()
Deprecated. 
Gets the user name of the Printer

Returns:
user name of Printer

getStatus

public java.lang.String getStatus()
                           throws PremisesAccessException
Deprecated. 
Gets the reader's most recent status

Returns:
a String representing the Reader's most recent status.
Throws:
PremisesAccessException

getChannelId

public java.lang.String getChannelId()
Deprecated. 
Gets the channel ID of the reader

Returns:
a String representing the Reader object's channel ID property

getIpAddress

public java.lang.String getIpAddress()
Deprecated. 
Gets the IP address of the reader

Returns:
a String representing the Reader object's IP address

getIpPort

public java.lang.String getIpPort()
Deprecated. 
Gets the IP port of the reader

Returns:
a String representing the Reader object's channel ID property

getReaderTypeId

public java.lang.String getReaderTypeId()
Deprecated. 
Gets the reader's type ID

Returns:
a String representing the Reader's reader type

getReaderType

public ReaderType getReaderType()
                         throws PremisesAccessException
Deprecated. 
Returns:
a ReaderType object representing the Reader's type
Throws:
PremisesAccessException
See Also:
ReaderType

setALEFilters

public void setALEFilters(java.util.Vector filters)
                   throws PremisesAccessException
Deprecated. 
This method will set filters to be used by the ALE spec. This filters determine what tags are seen.

Parameters:
filters - Vector list of tag patterns to set as ALE filters . For example, urn:epc:pat:gid-96:20.300.* this will return all tags that match the encoding, company prefix and item reference. "*" means that the tag can have any serial number.
Throws:
PremisesAccessException

setALEGroups

public void setALEGroups(java.util.Vector groups)
                  throws PremisesAccessException
Deprecated. 
This method will set groups to be used by the ALE spec.

Parameters:
groups - Vector list to set as ALE groups.
Throws:
PremisesAccessException

getReaderData

public ReaderData getReaderData()
Deprecated. 
gets the reader data for this particular reader object

Returns:
ReaderData object
See Also:
ReaderData


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.