|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rfid.premises.app.entities.Device
com.ibm.rfid.premises.app.entities.reading.Reader
public class Reader
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 |
---|
public Reader(BaseReader br)
Method Detail |
---|
public void start() throws PremisesAccessException
PremisesAccessException
public java.lang.String startALErdr(java.lang.String alespecnme) throws PremisesAccessException, ALEAccessException
alespecnme
- ale spec name to create
PremisesAccessException
ALEAccessException
public void stop() throws PremisesAccessException
PremisesAccessException
public void stopALErdr(java.lang.String alespecname) throws PremisesAccessException, ALEAccessException
alespecname
- name of ale session to be stopped
PremisesAccessException
ALEAccessException
public java.lang.String getUserName()
public java.lang.String getStatus() throws PremisesAccessException
PremisesAccessException
public java.lang.String getChannelId()
public java.lang.String getIpAddress()
public java.lang.String getIpPort()
public java.lang.String getReaderTypeId()
public ReaderType getReaderType() throws PremisesAccessException
PremisesAccessException
ReaderType
public void setALEFilters(java.util.Vector filters) throws PremisesAccessException
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.
PremisesAccessException
public void setALEGroups(java.util.Vector groups) throws PremisesAccessException
groups
- Vector list to set as ALE groups.
PremisesAccessException
public ReaderData getReaderData()
ReaderData
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |