<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 19, 2013, at 9:24 AM, Lucas Holmquist &lt;<a href="mailto:lholmqui@redhat.com">lholmqui@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 19, 2013, at 6:41 AM, Sebastien Blanc &lt;<a href="mailto:scm.blanc@gmail.com">scm.blanc@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">That is really cool !!&nbsp;<div>Just make sure we are in sync with this "old school" Java Sender and especially the fluent API&nbsp;<a href="https://github.com/aerogear/aerogear-unified-push-java-client" target="_blank">https://github.com/aerogear/aerogear-unified-push-java-client</a></div></div></blockquote><div><br></div>indeed.</div><div><br></div><div>but i don't think in node you would do something like this:</div><div><br></div><div><div>UnifiedMessage unifiedMessage = new UnifiedMessage.Builder()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .pushApplicationId("c7fc6525-5506-4ca9-9cf1-55cc261ddb9c")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .masterSecret("8b2f43a9-23c8-44fe-bee9-d6b0af9e316b")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .alert("Hello from Java Sender API, via JUnit")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .sound("default")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .build();</div><div><br></div><div><div>// send it out:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; defaultJavaSender.broadcast(unifiedMessage);</div></div><div><br></div><div>you would just pass an object</div><div><br></div><div><div>agSender.sender( url )</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>.broadcast( message, options )</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>.on( "success", function( response ) { …&nbsp;})</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>.on( "error", function( error ) { … &nbsp;} );</div></div></div><div><br></div><div><br></div><div>i think the "fluent" concept differs slightly in the 2 languages</div></div></blockquote><div><br></div>+9001 &nbsp;Your way is much better for the node world!<br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><blockquote type="cite"><div dir="ltr">

<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 19, 2013 at 3:25 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">kick ass!</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 19, 2013 at 2:19 PM, Lucas Holmquist <span dir="ltr">&lt;<a href="mailto:lholmqui@redhat.com" target="_blank">lholmqui@redhat.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word">hello people,<div><br></div><div>so i started a node version of the push sender api</div>

<div><br></div><div>here is the JIRA for tracking&nbsp;</div><div><br></div><div><a href="https://issues.jboss.org/browse/AGPUSH-181" target="_blank">https://issues.jboss.org/browse/AGPUSH-181</a></div><div><br></div><div>and the link to my repo for those who are lazy( like me )</div>

<div><br></div><div><a href="https://github.com/lholmquist/aerogear-unified-push-node-client" title="Follow link" style="line-height:17px;color:rgb(50,108,166);font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif;text-decoration:none" target="_blank">https://github.com/lholmquist/aerogear-unified-push-node-client</a></div>

<div><br></div><div><br></div><div><br></div><div>I understand there is a PHP client started,&nbsp;</div><div><br></div><div>Tommy, could you post the link to the repo in this thread and create a JIRA to track if it's not there already</div>

</div><br></div></div><div class="im">_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all">
<div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>

twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</font></span></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></blockquote></div><br></div>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></body></html>