<?xml version="1.0"?>
<rss version="2.0"><channel><title>Java Cloud API Latest Topics</title><link>https://forum.pulseway.com/forum/58-java-cloud-api/</link><description>Java Cloud API Latest Topics</description><language>en</language><item><title>Quick Reference Guide</title><link>https://forum.pulseway.com/topic/345-quick-reference-guide/</link><description><![CDATA[<p>
	<a href="https://www.pulseway.com/download/javacloudrefguide.pdf" rel="external nofollow">https://www.pulseway.com/download/javacloudrefguide.pdf</a>
</p>
]]></description><guid isPermaLink="false">345</guid><pubDate>Tue, 20 Mar 2012 21:36:45 +0000</pubDate></item><item><title>New to Java</title><link>https://forum.pulseway.com/topic/743-new-to-java/</link><description><![CDATA[<p>Hello,</p>
<p> </p>
<p>I've recently been learning Java and was wondering how the API works exactly.</p>
<p> </p>
<p>Would I be able to make it so Java gets all notifications and then be able to do things with that?</p>
<p> </p>
<p>E.G:</p>
<p> </p>
<p>Get all notifications.</p>
<p>If a notification has a priority of medium,</p>
<p>Display a message to the user of the webpage.</p>
<p> </p>
<p>I'm doing this for a Status Page on my website if you were wondering <img src="https://forum.pulseway.com/uploads/emoticons/default_wink.png" alt=";)" loading="lazy"></p>
]]></description><guid isPermaLink="false">743</guid><pubDate>Sun, 31 Mar 2013 13:50:58 +0000</pubDate></item><item><title>Ports and threading model</title><link>https://forum.pulseway.com/topic/689-ports-and-threading-model/</link><description><![CDATA[<p>Hi, I have been using the Java API successfully for a while, but I have a few questions. Apologies if the information is available elsewhere, but I haven't really been able to find any real documentation.</p>
<p> </p>
<p>Which port does the API communicate to your servers through? I'll be moving my app to new machine shortly and need to configure the firewall.</p>
<p> </p>
<p>What is the threading model used? Specifically, for the following handlers:</p>
<p>- DetailsRequestHandler</p>
<p>- PageRequestHandler</p>
<p>- CommandReceivedHandler</p>
<p>- PageCommandReceivedHandler</p>
<p> </p>
<p>Are they guaranteed to be called by a single thread only or do I need to handle my own synchronization or make them safe for reentry (note that I have a single object that implements all these interfaces)?</p>
<p> </p>
<p>Finally, I use the android client app, and I get repeated "instance is offline" notifications on instance failure, instead of just one. I'm not sure if the notification delete function on the android app is not working, or if I'm receiving multiple notifications. I presume the latter. Is there any way to configure the API to only send a single notification?</p>
<p> </p>
<p>Thanks,</p>
<p>Brad</p>
]]></description><guid isPermaLink="false">689</guid><pubDate>Fri, 01 Feb 2013 06:07:47 +0000</pubDate></item><item><title>sendNotificationToAllDevices, synchronous or asynchronous?</title><link>https://forum.pulseway.com/topic/690-sendnotificationtoalldevices-synchronous-or-asynchronous/</link><description><![CDATA[<p>Hi again,</p>
<p> </p>
<p>Does the Service.sendNotificationToAllDevices method process the notification on the calling thread or asynchronously (i.e. does it block the calling thread until the message has been sent)? I realize the send time may be very quick, but my application has certain error scenarios where every millisecond counts. It's relatively simple for me to hand the notification task off to a background thread on my side, but I don't want to do this if the API is already doing so.</p>
<p><br>
Thanks,</p>
<p>Brad</p>
]]></description><guid isPermaLink="false">690</guid><pubDate>Fri, 01 Feb 2013 06:26:36 +0000</pubDate></item><item><title>Java Cloud API Available</title><link>https://forum.pulseway.com/topic/344-java-cloud-api-available/</link><description><![CDATA[<p><span style="font-family:helvetica, arial, sans-serif;"><span style="color:#282828;">The first Java Cloud API is available here: </span></span><a href="http://www.pulseway.com/download/javacloud.zip" rel="external nofollow">http://www.mobilepcm...nload/javacloud.zip</a></p><p>
</p><p>
<span style="font-family:helvetica, arial, sans-serif;"><span style="color:#282828;">With this API you can monitor any Java app/service cloud instance, publish details, send commands and receive notifications.</span></span></p><p>
<span style="font-family:helvetica, arial, sans-serif;"><span style="color:#282828;">The API requires an API Key, please email us with your username and we will generate a key for you. </span></span></p><p>
</p><p>
<span style="font-family:helvetica, arial, sans-serif;"><span style="color:#282828;">For more information, tutorials and samples please visit </span></span><a href="http://pulseway.com/api.php" rel="external nofollow">http://pulseway.com/api.php</a></p>
]]></description><guid isPermaLink="false">344</guid><pubDate>Tue, 20 Mar 2012 21:35:12 +0000</pubDate></item></channel></rss>
