2009-10-01 1.2.0

org.eclipse.soda.dk.rfid.inventory.benchmark.profile
Class RfidInventoryBenchmarkProfile

java.lang.Object
  extended by Profile
      extended by org.eclipse.soda.dk.rfid.inventory.benchmark.profile.RfidInventoryBenchmarkProfile
All Implemented Interfaces:
RfidInventoryBenchmarkProfileService

public class RfidInventoryBenchmarkProfile
extends Profile
implements RfidInventoryBenchmarkProfileService

Rfid Inventory Benchmark Profile. The RfidInventoryBenchmarkProfile class implements the RfidInventoryBenchmarkProfileService and provides the controls for the profile.

The list of exported services:

Since:
1.0
Version:
1.2.0
See Also:
RfidInventoryBenchmarkProfileService,

See the following specification(s) for more details:

Title: EPCglobal Low Level Reader Protocol (LLRP)
URL: http://www.epcglobalinc.org/standards/llrp
Version: 1.0.1
Date: August 13, 2007
Vendor: EPCglobal
Comment: Ratified

Title: EPCglobal Application Level Events (ALE) Specification
URL: http://www.epcglobalinc.org/standards/ale/
Version: 1.1
Date: February 27, 2008
Vendor: EPCglobal
Comment: Ratified

Title: EPCglobal Low Level Reader Protocol (LLRP)
URL: http://www.epcglobalinc.org/standards/llrp
Version: 1.0.1
Date: August 13, 2007
Vendor: EPCglobal
Comment: Ratified

Title: EPCglobal Application Level Events (ALE) Specification
URL: http://www.epcglobalinc.org/standards/ale/
Version: 1.1
Date: February 27, 2008
Vendor: EPCglobal
Comment: Ratified

Field Summary
static java.lang.String CLASS_NAME
          Defines the full class name.
static java.lang.String RFID_INVENTORY_PROFILE_PREFIX
          Define the RFID inventory profile prefix configuration key.
protected  java.lang.String rfidInventoryProfileServiceTagReadingExternalKey
          Define RFID inventory profile service tag reading external key.
protected  java.lang.String rfidInventoryProfileServiceTagReadingGetExternalKey
          Define RFID inventory profile service tag reading get external key.
protected  java.lang.String rfidInventoryProfileServiceTagReportExternalKey
          Define RFID inventory profile service tag report external key.
 
Fields inherited from interface org.eclipse.soda.dk.rfid.inventory.benchmark.profile.service.RfidInventoryBenchmarkProfileService
ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, AVERAGE_DATA_KEY, AVERAGEDEVICEKITPROCESSTIME_DATA_KEY, AVERAGENOTIFICATIONTIME_DATA_KEY, AVERAGEREADERTRANSMITTIME_DATA_KEY, BENCHMARK_REPORT_ERROR_EXTERNAL_KEY, BENCHMARK_REPORT_EXTERNAL_KEY, BENCHMARK_REPORT_TRIGGER_EXTERNAL_KEY, Benchmarking, BENCHMARKING_ERROR_EXTERNAL_KEY, BENCHMARKING_EXTERNAL_KEY, BENCHMARKING_GET_EXTERNAL_KEY, BENCHMARKING_READ_EXTERNAL_KEY, BENCHMARKING_WRITE_EXTERNAL_KEY, BenchmarkReport, Capabilities, CAPABILITIES_ERROR_EXTERNAL_KEY, CAPABILITIES_EXTERNAL_KEY, CAPABILITIES_GET_EXTERNAL_KEY, Configuration, CONFIGURATION_ERROR_EXTERNAL_KEY, CONFIGURATION_EXTERNAL_KEY, CONFIGURATION_GET_EXTERNAL_KEY, DEVICEKITPROCESSTIME_DATA_KEY, DEVICEKITSTARTINGTIMESTAMP_DATA_KEY, DURATION_DATA_KEY, FACTORY_SERVICE_NAME, LONGEST_DATA_KEY, LONGESTDEVICEKITPROCESSTIME_DATA_KEY, LONGESTNOTIFICATIONTIME_DATA_KEY, LONGESTREADERTRANSMITTIME_DATA_KEY, MANAGED_SERVICE_NAME, Metrics, METRICS_ERROR_EXTERNAL_KEY, METRICS_EXTERNAL_KEY, METRICS_GET_EXTERNAL_KEY, NOTIFICATIONTIME_DATA_KEY, NOTIFICATIONTIMESTAMP_DATA_KEY, READERSTARTINGTIMESTAMP_DATA_KEY, READERTRANSMITTIME_DATA_KEY, RECEIVINGTIMESTAMP_DATA_KEY, RfidInventoryBenchmarkProfile, SERIALNUM_DATA_KEY, SERVICE_DESCRIPTION, SERVICE_NAME, SHORTEST_DATA_KEY, SHORTESTDEVICEKITPROCESSTIME_DATA_KEY, SHORTESTNOTIFICATIONTIME_DATA_KEY, SHORTESTREADERTRANSMITTIME_DATA_KEY, STARTDELAY_DATA_KEY, STARTING_TIMESTAMP_KEY, STARTING_TIMESTAMP_KEY_DEFAULT, STARTING_TIMESTAMP_KEY_PROPERTY, Status, STATUS_ERROR_EXTERNAL_KEY, STATUS_EXTERNAL_KEY, STATUS_GET_EXTERNAL_KEY, TAGID_DATA_KEY, TAGREPORTS_DATA_KEY, TAGS_DATA_KEY, TOTALPROCESSTIME_DATA_KEY, UNIQUETAGS_DATA_KEY
 
Constructor Summary
RfidInventoryBenchmarkProfile()
          Constructs a new instance of the RfidInventoryBenchmarkProfile class.
 
Method Summary
 int getControlCapacity()
          Gets the control capacity.
 DeviceService getDefaultDevice()
          Gets the default DeviceService.
 java.lang.String getDefaultKey()
          Gets the default key of the profile.
 int getMessageCapacity()
          Gets the message capacity.
protected  long getNewTagReadSerialNum()
          Gets the new tag read serial num (long) value.
 java.lang.String getRfidInventoryProfilePrefix()
          Get the RFID inventory profile prefix value.
 java.lang.String getStartingTimestampKey()
          Gets the value of starting time stamp key custom parameter.
 java.lang.Object handleMethodBenchmarking(int code, Measurement measurement, java.lang.Object data)
          Handle method benchmarking with the specified code, measurement and data parameters and return the Object result.
 boolean isAdapterNeeded()
          Is adapter needed.
 boolean isBenchmarking()
          Gets the benchmarking (boolean) value.
 boolean isDeviceNeeded()
          Is device needed.
 void notificationReceived(java.lang.String externalKey, java.util.Dictionary data)
          Notification received.
protected  void resetCurrentBenchmark(long timestamp)
          Reset current benchmark with the specified timestamp parameter.
 void setStartingTimestampKey(java.lang.String StartingTimestampKey)
          Sets the value of starting time stamp key custom parameter.
 void setup()
           
 void setupNotification()
          Setup notification.
protected  void tagReadStarted(long timestamp)
          Tag read started with the specified timestamp parameter.
protected  void tagReadStopped(long timestamp)
          Tag read stopped with the specified timestamp parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the full class name.

Since:
1.1
See Also:
Constant Field Values

RFID_INVENTORY_PROFILE_PREFIX

public static final java.lang.String RFID_INVENTORY_PROFILE_PREFIX
Define the RFID inventory profile prefix configuration key.

Since:
1.1
See Also:
Constant Field Values

rfidInventoryProfileServiceTagReadingExternalKey

protected java.lang.String rfidInventoryProfileServiceTagReadingExternalKey
Define RFID inventory profile service tag reading external key.

Since:
1.1

rfidInventoryProfileServiceTagReadingGetExternalKey

protected java.lang.String rfidInventoryProfileServiceTagReadingGetExternalKey
Define RFID inventory profile service tag reading get external key.

Since:
1.1

rfidInventoryProfileServiceTagReportExternalKey

protected java.lang.String rfidInventoryProfileServiceTagReportExternalKey
Define RFID inventory profile service tag report external key.

Since:
1.1
Constructor Detail

RfidInventoryBenchmarkProfile

public RfidInventoryBenchmarkProfile()
Constructs a new instance of the RfidInventoryBenchmarkProfile class.

Since:
1.1
Method Detail

getRfidInventoryProfilePrefix

public java.lang.String getRfidInventoryProfilePrefix()
Get the RFID inventory profile prefix value.

Returns:
The RFID inventory profile prefix value.
Since:
1.1
See Also:
RFID_INVENTORY_PROFILE_PREFIX

notificationReceived

public void notificationReceived(java.lang.String externalKey,
                                 java.util.Dictionary data)
Notification received.

Parameters:
externalKey - external key.
data - data.
Since:
1.1

setupNotification

public void setupNotification()
Setup notification.

Since:
1.1

getDefaultKey

public java.lang.String getDefaultKey()
Gets the default key of the profile.

Returns:
String The default key
Since:
1.1

getDefaultDevice

public DeviceService getDefaultDevice()
Gets the default DeviceService.

Returns:
DeviceService The default DeviceService.
Since:
1.1

isDeviceNeeded

public boolean isDeviceNeeded()
Is device needed.

Returns:
The results of this method.
Since:
1.1

getControlCapacity

public int getControlCapacity()
Gets the control capacity.

Returns:
The control capacity value.
Since:
1.1

getMessageCapacity

public int getMessageCapacity()
Gets the message capacity.

Returns:
int The message capacity.
Since:
1.1

setStartingTimestampKey

public void setStartingTimestampKey(java.lang.String StartingTimestampKey)
Sets the value of starting time stamp key custom parameter.

Parameters:
StartingTimestampKey - The starting time stamp key custom parameter.
Since:
1.1
See Also:
getStartingTimestampKey()

getStartingTimestampKey

public java.lang.String getStartingTimestampKey()
Gets the value of starting time stamp key custom parameter.

Returns:
starting time stamp key custom parameter.
Since:
1.1
See Also:
setStartingTimestampKey(java.lang.String)

setup

public void setup()
Since:
1.1
See Also:
org.eclipse.soda.dk.device.Container#setup()

isAdapterNeeded

public boolean isAdapterNeeded()
Is adapter needed.

Returns:
The results of this method.
Since:
1.1

getNewTagReadSerialNum

protected long getNewTagReadSerialNum()
Gets the new tag read serial num (long) value.

Returns:
The new tag read serial num (long) value.

handleMethodBenchmarking

public java.lang.Object handleMethodBenchmarking(int code,
                                                 Measurement measurement,
                                                 java.lang.Object data)
Handle method benchmarking with the specified code, measurement and data parameters and return the Object result.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method benchmarking (Object) value.

isBenchmarking

public boolean isBenchmarking()
Gets the benchmarking (boolean) value.

Returns:
The benchmarking (boolean) value.
See Also:
handleMethodBenchmarking(int,Measurement,Object)

resetCurrentBenchmark

protected void resetCurrentBenchmark(long timestamp)
Reset current benchmark with the specified timestamp parameter.

Parameters:
timestamp - The time stamp (long) parameter.

tagReadStarted

protected void tagReadStarted(long timestamp)
Tag read started with the specified timestamp parameter.

Parameters:
timestamp - The time stamp (long) parameter.

tagReadStopped

protected void tagReadStopped(long timestamp)
Tag read stopped with the specified timestamp parameter.

Parameters:
timestamp - The time stamp (long) parameter.

2009-10-01 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.