Tabnine Logo
KapuaDataMessage.setReceivedOn
Code IndexAdd Tabnine to your IDE (free)

How to use
setReceivedOn
method
in
org.eclipse.kapua.message.device.data.KapuaDataMessage

Best Java code snippets using org.eclipse.kapua.message.device.data.KapuaDataMessage.setReceivedOn (Showing top 7 results out of 315)

origin: eclipse/kapua

@Given("^I store the messages from list \"(.*)\" with the server time and remember the IDs as \"(.*)\"$")
public void insertRandomMessagesIntoDatastoreWithCurrentTimestamps(String msgListKey, String idListKey) throws KapuaException {
  List<KapuaDataMessage> tmpMsgList = (List<KapuaDataMessage>) stepData.get(msgListKey);
  StorableId tmpId = null;
  List<StorableId> tmpList = new ArrayList<>();
  for (KapuaDataMessage tmpMsg : tmpMsgList) {
    tmpMsg.setReceivedOn(new Date());
    tmpId = insertMessageInStore(tmpMsg);
    tmpList.add(tmpId);
  }
  stepData.put(idListKey, tmpList);
}
origin: eclipse/kapua

@Given("^I store the message \"(.*)\" with the server time and remember its ID as \"(.*)\"$")
public void insertRandomMessageIntoDatastoreWithCurrentTimestamp(String msgKey, String idKey) throws KapuaException {
  KapuaDataMessage tmpMessage = (KapuaDataMessage) stepData.get(msgKey);
  tmpMessage.setReceivedOn(new Date());
  StorableId storeId = insertMessageInStore(tmpMessage);
  stepData.put(idKey, storeId);
}
origin: eclipse/kapua

tmpMsg.setCapturedOn(capturedOn);
tmpMsg.setSentOn(sentOn);
tmpMsg.setReceivedOn(receivedOn);
tmpMsg.getPayload().getMetrics().put(metrics[0], metricsValuesDate[i % metricsValuesDate.length]);
tmpMsg.getPayload().getMetrics().put(metrics[1], metricsValuesString[i % metricsValuesString.length]);
origin: eclipse/kapua

kapuaDataMessage.setDeviceId(jsonKapuaDataMessage.getDeviceId());
kapuaDataMessage.setClientId(jsonKapuaDataMessage.getClientId());
kapuaDataMessage.setReceivedOn(jsonKapuaDataMessage.getReceivedOn());
kapuaDataMessage.setSentOn(jsonKapuaDataMessage.getSentOn());
kapuaDataMessage.setCapturedOn(jsonKapuaDataMessage.getCapturedOn());
origin: eclipse/kapua

kapuaDataMessage.setDeviceId(jsonKapuaDataMessage.getDeviceId());
kapuaDataMessage.setClientId(jsonKapuaDataMessage.getClientId());
kapuaDataMessage.setReceivedOn(jsonKapuaDataMessage.getReceivedOn());
kapuaDataMessage.setSentOn(jsonKapuaDataMessage.getSentOn());
kapuaDataMessage.setCapturedOn(jsonKapuaDataMessage.getCapturedOn());
origin: org.eclipse.kapua/kapua-translator-kapua-kura

kapuaDataMessage.setCapturedOn(kuraDataMessage.getPayload().getTimestamp());
kapuaDataMessage.setSentOn(kuraDataMessage.getPayload().getTimestamp());
kapuaDataMessage.setReceivedOn(kuraDataMessage.getTimestamp());
kapuaDataMessage.setPosition(TranslatorKuraKapuaUtils.translate(kuraDataMessage.getPayload().getPosition()));
origin: eclipse/kapua

kapuaDataMessage.setCapturedOn(kuraDataMessage.getPayload().getTimestamp());
kapuaDataMessage.setSentOn(kuraDataMessage.getPayload().getTimestamp());
kapuaDataMessage.setReceivedOn(kuraDataMessage.getTimestamp());
kapuaDataMessage.setPosition(TranslatorKuraKapuaUtils.translate(kuraDataMessage.getPayload().getPosition()));
org.eclipse.kapua.message.device.dataKapuaDataMessagesetReceivedOn

Popular methods of KapuaDataMessage

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

Popular in Java

  • Making http requests using okhttp
  • addToBackStack (FragmentTransaction)
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Collectors (java.util.stream)
  • JButton (javax.swing)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now