Codota Logo
KapuaDataMessage.setReceivedOn
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
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

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • startActivity (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
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