@Override public ISearchResults<IDeviceMeasurements> listDeviceMeasurementsForSite(String siteToken, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceMeasurementsForSite(siteToken, criteria); }
@Override public ISearchResults<IDeviceAlert> listDeviceAlerts(String assignmentToken, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceAlerts(assignmentToken, criteria); }
@Override public ISearchResults<IDeviceCommandInvocation> listDeviceCommandInvocations(String assignmentToken, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceCommandInvocations(assignmentToken, criteria); }
/** * Indicates a location event. * * @return */ public boolean isLocation() { return event.getEventType() == DeviceEventType.Location; }
@Override public IDeviceMeasurements addDeviceMeasurements(String assignmentToken, IDeviceMeasurementsCreateRequest measurements) throws SiteWhereException { return delegate.addDeviceMeasurements(assignmentToken, measurements); }
@Override public IDeviceAlert addDeviceAlert(String assignmentToken, IDeviceAlertCreateRequest request) throws SiteWhereException { return delegate.addDeviceAlert(assignmentToken, request); }
@Override public IDeviceLocation addDeviceLocation(String assignmentToken, IDeviceLocationCreateRequest request) throws SiteWhereException { return delegate.addDeviceLocation(assignmentToken, request); }
@Override public IDeviceCommandInvocation addDeviceCommandInvocation(String assignmentToken, IDeviceCommand command, IDeviceCommandInvocationCreateRequest request) throws SiteWhereException { return delegate.addDeviceCommandInvocation(assignmentToken, command, request); }
@Override public ISearchResults<IDeviceAlert> listDeviceAlertsForSite(String siteToken, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceAlertsForSite(siteToken, criteria); }
@Override public ISearchResults<IDeviceStreamData> listDeviceStreamData(String assignmentToken, String streamId, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceStreamData(assignmentToken, streamId, criteria); }
@Override public ISearchResults<IDeviceEvent> listDeviceEvents(String assignmentToken, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceEvents(assignmentToken, criteria); }
@Override public ISearchResults<IDeviceMeasurements> listDeviceMeasurements(String assignmentToken, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceMeasurements(assignmentToken, criteria); }
@Override public ISearchResults<IDeviceLocation> listDeviceLocations(String assignmentToken, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceLocations(assignmentToken, criteria); }
@Override public ISearchResults<IDeviceCommandInvocation> listDeviceCommandInvocationsForSite(String siteToken, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceCommandInvocationsForSite(siteToken, criteria); }
@Override public IDeviceStateChange addDeviceStateChange(String assignmentToken, IDeviceStateChangeCreateRequest request) throws SiteWhereException { return delegate.addDeviceStateChange(assignmentToken, request); }
@Override public ISearchResults<IDeviceStateChange> listDeviceStateChanges(String assignmentToken, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceStateChanges(assignmentToken, criteria); }
@Override public IDeviceEvent updateDeviceEvent(String eventId, IDeviceEventCreateRequest request) throws SiteWhereException { return delegate.updateDeviceEvent(eventId, request); } }
@Override public ISearchResults<IDeviceLocation> listDeviceLocationsForSite(String siteToken, IDateRangeSearchCriteria criteria) throws SiteWhereException { return delegate.listDeviceLocationsForSite(siteToken, criteria); }
/** * Indicates a location event. * * @return */ public boolean isLocation() { return event.getEventType() == DeviceEventType.Location; }
/** * Indicates a command invocation event. * * @return */ public boolean isCommandInvocation() { return event.getEventType() == DeviceEventType.CommandInvocation; }