|
2009-10-01 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.rfid.inventory.benchmark.servlet.RfidInventoryBenchmarkServletConsole
public class RfidInventoryBenchmarkServletConsole
| Constructor Summary | |
|---|---|
RfidInventoryBenchmarkServletConsole(BundleContext bundleContext,
NotificationService notificationService)
Constructs an instance of this class from the specified bundle context and notification service parameters. |
|
| Method Summary | |
|---|---|
protected void |
activate()
Activate. |
protected void |
addReader(java.lang.String prefix)
Add reader with the specified prefix parameter. |
void |
changeBenchmarkState(boolean state)
Change benchmark state with the specified state parameter. |
protected void |
clearBenchmarkReports()
Clear benchmark reports. |
boolean |
containsPrefix(java.lang.String prefix)
Contains prefix with the specified prefix parameter and return the boolean result. |
void |
displayDetailReport(DeviceServletContext context,
java.lang.String prefix,
int serialNum)
Display detail report with the specified context, prefix and serial num parameters. |
protected void |
displayReaderList(DeviceServletContext context)
Display reader list with the specified context parameter. |
protected void |
getBenchmarkReport_ajax(DeviceServletContext context)
Get benchmark report_ajax with the specified context parameter. |
boolean |
getBenchmarkState()
Gets the benchmark state (boolean) value. |
java.lang.String |
getCurrentPrefix()
Gets the current prefix (String) value. |
NotificationService |
getNotificationService()
Gets the notification service value. |
protected java.util.Map |
getReaderList()
Gets the reader list (Map) value. |
IServiceDetecter |
getRfidInventoryBenchmarkServiceDetecter()
Gets the rfid inventory service detecter (IServiceDetecter) value. |
ServiceDetecterListener |
getServiceDetecterListener()
Gets the service detecter listener value. |
boolean |
isTagreadStarted()
Gets the tagread started (boolean) value. |
void |
saveDetailToFile(java.lang.String readerId,
int serialNum,
java.lang.String fileName,
java.lang.String comment,
DeviceServletContext context)
Save detail to file with the specified reader id, serial num, file name, comment and context parameters. |
void |
saveToFile(java.lang.String fileName,
java.lang.String comment,
DeviceServletContext context)
Save to file with the specified file name, comment and context parameters. |
void |
setCurrentPrefix(java.lang.String prefix)
Sets the current prefix value. |
void |
setNotificationService(NotificationService notificationService)
Sets the notification service value. |
protected boolean |
startBenchmarkRuns(int cycles,
long duration,
long delay)
Start benchmark runs with the specified cycles, duration and delay parameters and return the boolean result. |
protected void |
stopBenchmarkRuns()
Stop benchmark runs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RfidInventoryBenchmarkServletConsole(BundleContext bundleContext,
NotificationService notificationService)
bundleContext - The bundle context (BundleContext) parameter.notificationService - The notification service (NotificationService) parameter.| Method Detail |
|---|
protected void activate()
protected void addReader(java.lang.String prefix)
prefix - The prefix (String) parameter.public void changeBenchmarkState(boolean state)
state - The state (boolean) parameter.getBenchmarkState()protected void clearBenchmarkReports()
public boolean containsPrefix(java.lang.String prefix)
prefix - The prefix (String) parameter.
boolean) value.getCurrentPrefix(),
setCurrentPrefix(String)
public void displayDetailReport(DeviceServletContext context,
java.lang.String prefix,
int serialNum)
context - The context (DeviceServletContext) parameter.prefix - The prefix (String) parameter.serialNum - The serial num (int) parameter.protected void displayReaderList(DeviceServletContext context)
context - The context (DeviceServletContext) parameter.getReaderList()protected void getBenchmarkReport_ajax(DeviceServletContext context)
context - The context (DeviceServletContext) parameter.public boolean getBenchmarkState()
boolean) value.changeBenchmarkState(boolean)public java.lang.String getCurrentPrefix()
String) value.setCurrentPrefix(String)public NotificationService getNotificationService()
NotificationService) value.setNotificationService(NotificationService)protected java.util.Map getReaderList()
Map) value.displayReaderList(DeviceServletContext)public IServiceDetecter getRfidInventoryBenchmarkServiceDetecter()
IServiceDetecter) value.public ServiceDetecterListener getServiceDetecterListener()
ServiceDetecterListener) value.public boolean isTagreadStarted()
boolean) value.
public void saveDetailToFile(java.lang.String readerId,
int serialNum,
java.lang.String fileName,
java.lang.String comment,
DeviceServletContext context)
throws java.io.IOException
readerId - The reader ID (String) parameter.serialNum - The serial num (int) parameter.fileName - The file name (String) parameter.comment - The comment (String) parameter.context - The context (DeviceServletContext) parameter.
java.io.IOException - IOException.
public void saveToFile(java.lang.String fileName,
java.lang.String comment,
DeviceServletContext context)
throws java.io.IOException
fileName - The file name (String) parameter.comment - The comment (String) parameter.context - The context (DeviceServletContext) parameter.
java.io.IOException - IOException.saveDetailToFile(String,int,String,String,DeviceServletContext)public void setCurrentPrefix(java.lang.String prefix)
prefix - The prefix (String) parameter.getCurrentPrefix()public void setNotificationService(NotificationService notificationService)
notificationService - The notification service (NotificationService) parameter.getNotificationService()
protected boolean startBenchmarkRuns(int cycles,
long duration,
long delay)
cycles - The cycles (int) parameter.duration - The duration (long) parameter.delay - The delay (long) parameter.
boolean) value.stopBenchmarkRuns()protected void stopBenchmarkRuns()
startBenchmarkRuns(int,long,long)
|
2009-10-01 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||