2009-10-01 1.2.0

org.eclipse.soda.dk.epcglobal.llrp.write.profile.servlet
Class WriteProfileConsole

java.lang.Object
  extended by DeviceServletBundle
      extended by org.eclipse.soda.dk.epcglobal.llrp.write.profile.servlet.WriteProfileConsole

public class WriteProfileConsole
extends DeviceServletBundle

Since:
1.0
Version:
1.2.0

Constructor Summary
WriteProfileConsole()
           
 
Method Summary
 DeviceServlet createServlet()
          Create servlet and return the DeviceServlet result.
protected  java.lang.String[] getImportedServiceNames()
          Gets the imported service names (String[]) value.
 long getLatestReportDuration()
          Gets the latest report duration (long) value.
protected  java.io.InputStream getPropertiesInputStream()
          Gets the properties input stream (InputStream) value.
 java.util.List getReports()
          Gets the reports (List) value.
 void notificationReceived(java.lang.String externalKey, java.util.Dictionary data)
          Notification received with the specified external key and data parameters.
protected  void sendIncrementWriteRequest(java.lang.String prefix, java.lang.String writeOperationsParameter)
          Send increment write request with the specified prefix and write operations parameter parameters.
protected  void sendRequest(java.lang.String topic, java.lang.Object request)
          Send request with the specified topic and request parameters.
 void sendTagAggregating(java.lang.String prefix, java.lang.Boolean request)
          Send tag aggregating with the specified prefix and request parameters.
 void sendTagAggregationMaskSetting(java.lang.String prefix, java.lang.String mask)
          Send tag aggregation mask setting with the specified prefix and mask parameters.
 void sendTagWriteMaskSetting(java.lang.String prefix, java.lang.String mask)
          Send tag write mask setting with the specified prefix and mask parameters.
 void sendTagWriteMaskSettingRequest(java.lang.String prefix, java.util.Map tagWriteMaskSettingParameter)
          Send tag write mask setting request with the specified prefix and tag write mask setting parameter parameters.
 void sendWriteOperationsExecuteRequest(java.lang.String prefix, java.lang.String request)
          Send write operations execute request with the specified prefix and request parameters.
 void sendWriteOperationsRequest(java.lang.String prefix, java.lang.String writeOperationsParameter)
          Send write operations request with the specified prefix and write operations parameter parameters.
 void sendWriteOperationsRequest(java.lang.String prefix, java.lang.String writeOperationsParameter, int repeat)
          Send write operations request with the specified prefix, write operations parameter and repeat parameters.
 void sendWriteOperationsStopRequest(java.lang.String prefix, java.lang.String request)
          Send write operations stop request with the specified prefix and request parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteProfileConsole

public WriteProfileConsole()
Method Detail

createServlet

public DeviceServlet createServlet()
Create servlet and return the DeviceServlet result.

Returns:
Results of the create servlet (DeviceServlet) value.

getImportedServiceNames

protected java.lang.String[] getImportedServiceNames()
Gets the imported service names (String[]) value.

Returns:
The imported service names (String[]) value.

getLatestReportDuration

public long getLatestReportDuration()
Gets the latest report duration (long) value.

Returns:
The latest report duration (long) value.
Since:
1.2

getPropertiesInputStream

protected java.io.InputStream getPropertiesInputStream()
                                                throws java.io.IOException
Gets the properties input stream (InputStream) value.

Returns:
The properties input stream (InputStream) value.
Throws:
java.io.IOException - IOException.

getReports

public java.util.List getReports()
Gets the reports (List) value.

Returns:
The reports (List) value.

notificationReceived

public void notificationReceived(java.lang.String externalKey,
                                 java.util.Dictionary data)
Notification received with the specified external key and data parameters.

Parameters:
externalKey - The external key (String) parameter.
data - The data (Dictionary) parameter.

sendIncrementWriteRequest

protected void sendIncrementWriteRequest(java.lang.String prefix,
                                         java.lang.String writeOperationsParameter)
Send increment write request with the specified prefix and write operations parameter parameters.

Parameters:
prefix - The prefix (String) parameter.
writeOperationsParameter - The write operations parameter (String) parameter.
Since:
1.2

sendRequest

protected void sendRequest(java.lang.String topic,
                           java.lang.Object request)
Send request with the specified topic and request parameters.

Parameters:
topic - The topic (String) parameter.
request - The request (Object) parameter.
See Also:
sendIncrementWriteRequest(String,String), sendTagWriteMaskSettingRequest(String,Map), sendWriteOperationsExecuteRequest(String,String), sendWriteOperationsRequest(String,String), sendWriteOperationsRequest(String,String,int), sendWriteOperationsStopRequest(String,String)

sendTagAggregating

public void sendTagAggregating(java.lang.String prefix,
                               java.lang.Boolean request)
Send tag aggregating with the specified prefix and request parameters.

Parameters:
prefix - The prefix (String) parameter.
request - The request (Boolean) parameter.

sendTagAggregationMaskSetting

public void sendTagAggregationMaskSetting(java.lang.String prefix,
                                          java.lang.String mask)
Send tag aggregation mask setting with the specified prefix and mask parameters.

Parameters:
prefix - The prefix (String) parameter.
mask - The mask (String) parameter.

sendTagWriteMaskSetting

public void sendTagWriteMaskSetting(java.lang.String prefix,
                                    java.lang.String mask)
Send tag write mask setting with the specified prefix and mask parameters.

Parameters:
prefix - The prefix (String) parameter.
mask - The mask (String) parameter.

sendTagWriteMaskSettingRequest

public void sendTagWriteMaskSettingRequest(java.lang.String prefix,
                                           java.util.Map tagWriteMaskSettingParameter)
Send tag write mask setting request with the specified prefix and tag write mask setting parameter parameters.

Parameters:
prefix - The prefix (String) parameter.
tagWriteMaskSettingParameter - The tag write mask setting parameter (Map) parameter.

sendWriteOperationsExecuteRequest

public void sendWriteOperationsExecuteRequest(java.lang.String prefix,
                                              java.lang.String request)
Send write operations execute request with the specified prefix and request parameters.

Parameters:
prefix - The prefix (String) parameter.
request - The request (String) parameter.

sendWriteOperationsRequest

public void sendWriteOperationsRequest(java.lang.String prefix,
                                       java.lang.String writeOperationsParameter)
Send write operations request with the specified prefix and write operations parameter parameters.

Parameters:
prefix - The prefix (String) parameter.
writeOperationsParameter - The write operations parameter (String) parameter.
See Also:
sendWriteOperationsRequest(String,String,int)

sendWriteOperationsRequest

public void sendWriteOperationsRequest(java.lang.String prefix,
                                       java.lang.String writeOperationsParameter,
                                       int repeat)
Send write operations request with the specified prefix, write operations parameter and repeat parameters.

Parameters:
prefix - The prefix (String) parameter.
writeOperationsParameter - The write operations parameter (String) parameter.
repeat - The repeat (int) parameter.
Since:
1.2
See Also:
sendWriteOperationsRequest(String,String)

sendWriteOperationsStopRequest

public void sendWriteOperationsStopRequest(java.lang.String prefix,
                                           java.lang.String request)
Send write operations stop request with the specified prefix and request parameters.

Parameters:
prefix - The prefix (String) parameter.
request - The request (String) parameter.

2009-10-01 1.2.0

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