com.ibm.rfid.premises.app.access
Class SensorEventsAPIAccessRemote

java.lang.Object
  extended by com.ibm.rfid.premises.app.access.SensorEventsAPIAccess
      extended by com.ibm.rfid.premises.app.access.SensorEventsAPIAccessRemote

public class SensorEventsAPIAccessRemote
extends SensorEventsAPIAccess

This class extends SensorEventsAPIAccess and represents a connection to a remote IBM WebSphere Sensor Events installation. This class relies on Web Services to make remote calls to the IBM WebSphere Sensor Events.

See Also:
SensorEventsAPIAccess, SensorEventsAPIAccessLocal, SensorEventsAPIContext

Method Summary
protected  DeviceCommandsAdmin getDeviceCommandsAdmin()
          Gets the Device Commands Admin
protected  DeviceConfigAdmin getDeviceConfigAdmin()
          Gets the Device Config Admin
protected  DeviceDataAdmin getDeviceDataAdmin()
          Gets the Device Data Admin
protected  EPCCommands getEPCCommand()
           
 java.lang.String getHostname()
          Gets the current hostname value that is used to formulate an "endpoint" string required for Web Service calls.
 java.lang.String getPort()
          get port used for web service access (default: 9080)
protected  StatusAdmin getStatusAdmin()
          Gets the Status Admin
protected  TagApiAdmin getTagApiAdmin()
          Gets the Tag Api Admin to query tag history
protected  TagCommissioningAdmin getTagCommissioningAdmin()
          Gets the Tag Commissioning Admin
 void setHostname(java.lang.String string)
          Sets the hostname, which is then used to formulate an "endpoint" string required for Web Service calls.
 void setPort(java.lang.String string)
          set port used for web service access (default: 9080)
static SensorEventsAPIAccessRemote singleton()
          Singleton Method
 
Methods inherited from class com.ibm.rfid.premises.app.access.SensorEventsAPIAccess
clearALEData, decodeEPCValue, deleteControllerMetaData, deleteLocationMetaData, getALEData, getAllChildLocation, getAllController, getAllDevices, getAllDevicesByCategoryName, getAllLocation, getAllParentLocation, getAllPassiveRFIDReader, getAllPrinters, getAllPrintTemplates, getController, getControllerMetaData, getDevice, getDeviceIDByCategoryName, getDeviceStatus, getEpcEncodingfromUrn, getEpcTagData, getEpcTagDataByBusinessRef, getHistoryForTag, getItemReferenceIdByUrn, getLocation, getLocationMetaData, getPassiveRFIDReader, getPremisesPropertiesKeyValue, getPrintDetails, getPrintDetailsByBusinessRef, getPrinter, getPrinterType, getPrintJob, getPrintJobIdByUrn, getPrintJobs, getPrintJobStatus, getPrintTemplatesOfType, getSupplyChainProfile, getSupplyChainProfiles, getTagHistoriesForLocation, getTagHistoriesForReader, printJob, publish, publishOutBound, sendAcceptToLightStack, sendApplicationPongPayload, sendLocationMetaData, sendRejectToLightStack, setControllerMetaData, setGPIO, setLocationMetaData, setLocationMetaDataAndStartLocation, startLocation, stopLocation, updateControllerMetaData, updateLocationMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

singleton

public static SensorEventsAPIAccessRemote singleton()
Singleton Method

Returns:
PremiseAccessRemote instance

getDeviceConfigAdmin

protected DeviceConfigAdmin getDeviceConfigAdmin()
Gets the Device Config Admin

Specified by:
getDeviceConfigAdmin in class SensorEventsAPIAccess
Returns:
the DeviceConfigAdmin

getDeviceCommandsAdmin

protected DeviceCommandsAdmin getDeviceCommandsAdmin()
Gets the Device Commands Admin

Specified by:
getDeviceCommandsAdmin in class SensorEventsAPIAccess
Returns:
the DeviceCommandsAdmin

getStatusAdmin

protected StatusAdmin getStatusAdmin()
Gets the Status Admin

Specified by:
getStatusAdmin in class SensorEventsAPIAccess
Returns:
the StatusAdmin

getDeviceDataAdmin

protected DeviceDataAdmin getDeviceDataAdmin()
Gets the Device Data Admin

Specified by:
getDeviceDataAdmin in class SensorEventsAPIAccess
Returns:
the DeviceDataAdmin

getTagCommissioningAdmin

protected TagCommissioningAdmin getTagCommissioningAdmin()
Gets the Tag Commissioning Admin

Specified by:
getTagCommissioningAdmin in class SensorEventsAPIAccess
Returns:
the TagCommissioningAdmin

getTagApiAdmin

protected TagApiAdmin getTagApiAdmin()
Gets the Tag Api Admin to query tag history

Specified by:
getTagApiAdmin in class SensorEventsAPIAccess
Returns:
TagApiAdmin object

getEPCCommand

protected EPCCommands getEPCCommand()
Specified by:
getEPCCommand in class SensorEventsAPIAccess

getHostname

public java.lang.String getHostname()
Gets the current hostname value that is used to formulate an "endpoint" string required for Web Service calls.

Returns:
hostname

setHostname

public void setHostname(java.lang.String string)
Sets the hostname, which is then used to formulate an "endpoint" string required for Web Service calls.

Parameters:
string - representing the hostname of the IBM WebSphere Sensor Events

getPort

public java.lang.String getPort()
get port used for web service access (default: 9080)

Returns:
port

setPort

public void setPort(java.lang.String string)
set port used for web service access (default: 9080)

Parameters:
string - port to be set


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.