|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rfid.premises.app.access.ALEAccess
public abstract class ALEAccess
An AleAccess is an abstract class used to access limited ALE functionality on the IBM WebSphere Sensor Events.
Use the method PremisesContext.getALEAccess()
to retrieve an
AleAccess object.
ALEAccessLocal
,
PremisesContext
Constructor Summary | |
---|---|
ALEAccess()
|
Method Summary | |
---|---|
protected abstract ALE |
getALERuntime()
Gets the local AleSession |
java.lang.String |
getSpecByReaderId(java.lang.String readerId)
returns the ale spec name that is using the reader specified by given id returns null if reader is not being used by ALE. |
java.lang.String |
getTriggerUrlPrefix()
gets the trigger url prefix used by this Ale client (default: http://localhost:9080/AleHttpAdapters/) |
protected void |
setTriggerUrlPrefix(java.lang.String s)
sets the trigger url prefix that this Ale client will use |
void |
startALESpec(java.lang.String alespecname,
java.lang.String id)
Start an Ale specification. |
void |
startALESpec(java.lang.String alespecname,
java.util.Vector alefilters,
java.util.Vector alegroups,
java.lang.String location)
|
void |
stopALESpec(java.lang.String alespecname,
java.lang.String location)
Stop and Ale specification |
void |
undefineSpec(java.lang.String specname)
Gets the remote AleSession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ALEAccess()
Method Detail |
---|
protected abstract ALE getALERuntime()
public void undefineSpec(java.lang.String specname)
public java.lang.String getSpecByReaderId(java.lang.String readerId)
readerId
- reader id in question
public void startALESpec(java.lang.String alespecname, java.util.Vector alefilters, java.util.Vector alegroups, java.lang.String location) throws ALEAccessException
alespecname
- Ale specification namealefilters
- Vector of Ale filters required by Ale enginealegroups
- Vector of Ale groups required by Ale enginelocation
- String location of target device
ALEAccessException
public void startALESpec(java.lang.String alespecname, java.lang.String id) throws ALEAccessException
alespecname
- the name of the Ale specification to startid
- location of the target device (e.g., "P1"), or a logical
location (e.g., "P1:R1")
ALEAccessException
public void stopALESpec(java.lang.String alespecname, java.lang.String location) throws ALEAccessException
alespecname
- the name of the Ale specification to stoplocation
- location of the target device
ALEAccessException
public java.lang.String getTriggerUrlPrefix()
protected void setTriggerUrlPrefix(java.lang.String s)
s
- trigger url prefix to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |