I hadn't realized it, but we don't actually have a demo or tutorial that 
documents this feature. Apologies for the oversight - we'll be sure to add that 
for 2.0.

In the meantime, you can use this test app as an example. It's pretty simple, 
but it demonstrates the concepts:

  
http://svn.apache.org/repos/asf/pivot/trunk/tests/src/org/apache/pivot/tests/MessageBusTest.java

Basically, you can send an instance of any type as a message. Any listeners 
subscribed to that type will receive the message. That example uses an enum, 
but any Java type will work.

Hope this helps,
Greg


On Sep 27, 2010, at 3:33 AM, B.L. Zeebub wrote:

> 
> Are there any examples, tutorials on how to use subscribe(), publish() within
> Pivot, or can I work from the example code from eventbus.org?
> 
> Regards
> -- 
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/Heads-Up-new-Pivot-Article-tp1535411p1587207.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to