]> source.dussan.org Git - vaadin-framework.git/commit
Update broadcaster tutorial code
authorLeif Åstrand <leif@vaadin.com>
Wed, 29 May 2013 07:43:07 +0000 (10:43 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 5 Jun 2013 09:09:35 +0000 (09:09 +0000)
commitb1ab27a8fe2e06ab4d16f5b6f4ff107d694e19a6
treecf4c7f90c4dcb6c9569f4668cb401755b26f0508
parent8d655f617fe09b65982b259ba8d402e3f1d6bf24
Update broadcaster tutorial code

* Don't need to start a thread for broadcasting with the new UI.access
* Add @Push to the UI
* Use CopyOnWriteArrayList instead of synchronized methods

Change-Id: I63fad6977c1a3e504fc60445c3147b5a241c3132
uitest/src/com/vaadin/tests/minitutorials/broadcastingmessages/Broadcaster.java
uitest/src/com/vaadin/tests/minitutorials/broadcastingmessages/BroadcasterUI.java