|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A factory for creating instances of complex types used by the ALEPC
API. Concrete
implementations of the ALEPC
interface will provide a method for obtaining an
instance of this factory.
Method Summary | |
AccessSpec |
createAccessSpec(java.lang.String name)
Create a new empty AccessSpec instance containing no OpSpecs. |
DataSpec |
createEPCCacheDataSpec(java.lang.String epcCacheName)
Create a new DataSpec that gets its data from an EPC Cache. |
EPCCacheSpec |
createEPCCacheSpec()
Create a new EPCCacheSpec instance. |
EPCPatterns |
createEPCPatterns()
Create a new EPCPatterns instance. |
KillOpSpec |
createKillOpSpec(DataSpec dataSpec)
Create a new KillOpSpec. |
DataSpec |
createLiteralDataSpec(java.net.URI value)
Create a new DataSpec that gets its data from a URI. |
LockOpSpec |
createLockOpSpec(java.net.URI mask,
java.net.URI value)
Create a new LockOpSpec. |
DataSpec |
createParamDataSpec(java.lang.String paramName)
Create a new DataSpec that gets its data from the parameter map in the ALEPC poll() or immediate() call. |
PasswordOpSpec |
createPasswordOpSpec(DataSpec dataSpec)
Create a new PasswordOpSpec. |
PCSpec |
createPCSpec()
Create a new PCSpec instance. |
PCSubscriptionControls |
createPCSubscriptionControls()
Create a new PCSubscriptionControls instance, with all fields initialized to
zero, which requests that notification failures never cause a subscription to be
unsubscribed. |
PCSubscriptionControls |
createPCSubscriptionControls(int count,
long interval)
Create a new PCSubscriptionControls instance with the specified count and
interval in milliseconds. |
ReadOpSpec |
createReadOpSpec(java.net.URI field)
Create a new ReadOpSpec. |
WriteOpSpec |
createWriteOpSpec(java.net.URI field,
DataSpec dataSpec)
Create a new WriteOpSpec. |
Method Detail |
public PCSpec createPCSpec()
PCSpec
instance. The returned instance has no cache name, empty
list of logical reader names, no start or stop trigger, and maxTrials and maxDuration
set to 0 (no limit).
public EPCCacheSpec createEPCCacheSpec()
EPCCacheSpec
instance. The returned instance has no application
data, 0 threshold, and false includeContent.
public EPCPatterns createEPCPatterns()
EPCPatterns
instance. The returned instance is empty.
public PCSubscriptionControls createPCSubscriptionControls()
PCSubscriptionControls
instance, with all fields initialized to
zero, which requests that notification failures never cause a subscription to be
unsubscribed.
public PCSubscriptionControls createPCSubscriptionControls(int count, long interval)
PCSubscriptionControls
instance with the specified count and
interval in milliseconds.
public AccessSpec createAccessSpec(java.lang.String name)
name
- the name of the new AccessSpecpublic PasswordOpSpec createPasswordOpSpec(DataSpec dataSpec)
dataSpec
- the DataSpec that the OpSpec will use to get the passwordpublic KillOpSpec createKillOpSpec(DataSpec dataSpec)
dataSpec
- the DataSpec that the OpSpec will use to get the kill passwordpublic ReadOpSpec createReadOpSpec(java.net.URI field)
field
- the field URI to readpublic WriteOpSpec createWriteOpSpec(java.net.URI field, DataSpec dataSpec)
field
- the field URI to be writtendataSpec
- the DataSpec that the OpSpec will use to get the contents to writepublic LockOpSpec createLockOpSpec(java.net.URI mask, java.net.URI value)
mask
- The URI representing the data to use as the mask value in the request.value
- The URI representing the data to use as the value in the request.public DataSpec createLiteralDataSpec(java.net.URI value)
value
- The URI representing the data to use as the contents.public DataSpec createEPCCacheDataSpec(java.lang.String epcCacheName)
epcCacheName
- The name of the EPC Cache to get data from.public DataSpec createParamDataSpec(java.lang.String paramName)
paramName
- the name of the parameter to look up in that map.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |