com.ibm.tivoli.maximo.iotservices.mapper

Class IotProcessor

    • Constructor Detail

      • IotProcessor

        public IotProcessor()
                     throws MXException,
                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • syncMeterReadings

        public void syncMeterReadings(java.lang.String iotServiceName,
                                      java.lang.String deviceType,
                                      java.lang.String instanceName,
                                      java.util.Date lastRun,
                                      boolean useJMSQueue)
                               throws MXException,
                                      java.rmi.RemoteException
        Specified by:
        syncMeterReadings in interface IoTHistorianProcessor
        Throws:
        MXException
        java.rmi.RemoteException
      • processHistorianData

        public void processHistorianData(IoTMeterToPayloadMappingInfo mappingInfo,
                                         java.lang.String histURL,
                                         URLFormatter uf,
                                         java.lang.String endPointName,
                                         java.lang.String iotServiceName,
                                         java.lang.String histDBName,
                                         java.lang.String deviceType,
                                         java.util.Date lastRun,
                                         java.lang.String useWith,
                                         boolean useJMSQueue)
                                  throws MXException,
                                         java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • mapAssetMeterFeedData

        protected void mapAssetMeterFeedData(java.lang.String deviceid,
                                             java.lang.String deviceType,
                                             java.util.Date readingDate,
                                             IoTMeterToPayloadMappingInfo mappingInfo,
                                             com.ibm.json.java.JSONObject jo,
                                             java.lang.String sensorValue)
                                      throws java.rmi.RemoteException,
                                             MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • mapLocationMeterFeedData

        protected void mapLocationMeterFeedData(java.lang.String deviceid,
                                                java.lang.String deviceType,
                                                java.util.Date readingDate,
                                                IoTMeterToPayloadMappingInfo mappingInfo,
                                                com.ibm.json.java.JSONObject jo,
                                                java.lang.String sensorValue)
                                         throws java.rmi.RemoteException,
                                                MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getDeviceidsForDeviceTypeAsset

        protected java.util.List getDeviceidsForDeviceTypeAsset(java.lang.String deviceType,
                                                                IoTMeterToPayloadMappingInfo mappingInfo)
                                                         throws java.rmi.RemoteException,
                                                                MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getDeviceidsForDeviceTypeLocation

        protected java.util.List getDeviceidsForDeviceTypeLocation(java.lang.String deviceType,
                                                                   IoTMeterToPayloadMappingInfo mappingInfo)
                                                            throws java.rmi.RemoteException,
                                                                   MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getIOTPlatformRestURL

        protected abstract java.util.List getIOTPlatformRestURL(java.lang.String iotServiceName,
                                                                java.lang.String endPointName,
                                                                java.lang.String histURL,
                                                                java.lang.String deviceType,
                                                                IoTMeterToPayloadMappingInfo mappingInfo,
                                                                java.util.Date lastRun,
                                                                IoTConnectionService iotfProc,
                                                                java.lang.String useWith)
                                                         throws MXException,
                                                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getReadingDate

        public abstract java.util.Map getReadingDate(com.ibm.json.java.JSONObject jo,
                                                     java.lang.String iotServiceName,
                                                     IoTMeterToPayloadMappingInfo mappingInfo)
                                              throws MXException,
                                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getResultTagName

        protected abstract java.lang.String getResultTagName(java.lang.String iotServiceName,
                                                             IoTMeterToPayloadMappingInfo mappingInfo)