Codota Logo
GenericRequestMessage.setDeviceId
Code IndexAdd Codota to your IDE (free)

How to use
setDeviceId
method
in
org.eclipse.kapua.service.device.management.request.message.request.GenericRequestMessage

Best Java code snippets using org.eclipse.kapua.service.device.management.request.message.request.GenericRequestMessage.setDeviceId (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: eclipse/kapua

  /**
   * Sends a request message to a device.
   * This call is generally used to perform remote management of resources
   * attached to the device such sensors and registries.
   *
   * @param scopeId        The {@link ScopeId} of the {@link Device}.
   * @param deviceId       The {@link Device} ID.
   * @param timeout        The timeout of the request execution
   * @param requestMessage The input request
   * @return The response output.
   * @throws Exception Whenever something bad happens. See specific {@link KapuaService} exceptions.
   */
  @POST
  @Consumes({MediaType.APPLICATION_XML})
  @Produces({MediaType.APPLICATION_XML})
  @ApiOperation(nickname = "deviceRequestSend", value = "Sends a request", notes = "Sends a request message to a device", response = DeviceCommandOutput.class)
  public GenericResponseMessage sendRequest(
      @ApiParam(value = "The ScopeId of the device", required = true, defaultValue = DEFAULT_SCOPE_ID) @PathParam("scopeId") ScopeId scopeId,
      @ApiParam(value = "The id of the device", required = true) @PathParam("deviceId") EntityId deviceId,
      @ApiParam(value = "The timeout of the request execution") @QueryParam("timeout") Long timeout,
      @ApiParam(value = "The input request", required = true) GenericRequestMessage requestMessage) throws Exception {
    requestMessage.setScopeId(scopeId);
    requestMessage.setDeviceId(deviceId);

    return requestService.exec(requestMessage, timeout);
  }
}
origin: eclipse/kapua

genericRequestMessage.setDeviceId(jsonGenericRequestMessage.getDeviceId());
genericRequestMessage.setClientId(jsonGenericRequestMessage.getClientId());
genericRequestMessage.setReceivedOn(jsonGenericRequestMessage.getReceivedOn());
origin: org.eclipse.kapua/kapua-device-request-internal

genericRequestMessage.setDeviceId(requestInput.getDeviceId());
genericRequestMessage.setCapturedOn(new Date());
genericRequestMessage.setChannel(genericRequestChannel);
origin: eclipse/kapua

genericRequestMessage.setDeviceId(requestInput.getDeviceId());
genericRequestMessage.setCapturedOn(new Date());
genericRequestMessage.setChannel(genericRequestChannel);
origin: org.eclipse.kapua/kapua-device-management-request-internal

genericRequestMessage.setDeviceId(requestInput.getDeviceId());
genericRequestMessage.setCapturedOn(new Date());
genericRequestMessage.setChannel(genericRequestChannel);
org.eclipse.kapua.service.device.management.request.message.requestGenericRequestMessagesetDeviceId

Popular methods of GenericRequestMessage

  • getChannel
  • getDeviceId
  • getPayload
  • getPosition
  • getScopeId
  • setCapturedOn
  • setChannel
  • setPayload
  • setPosition
  • setScopeId
  • getCapturedOn
  • getClientId
  • getCapturedOn,
  • getClientId,
  • getId,
  • getReceivedOn,
  • getSentOn,
  • setClientId,
  • setId,
  • setReceivedOn,
  • setSentOn

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • requestLocationUpdates (LocationManager)
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now