Package play.libs

Examples of play.libs.Comet


    }

    public static class Controller2 extends MockJavaAction {
        //#comet
        public Result index() {
            Comet comet = new Comet("console.log") {
                public void onConnected() {
                    sendMessage("kiki");
                    sendMessage("foo");
                    sendMessage("bar");
                    close();
View Full Code Here


    }

    public static class Controller3 extends MockJavaAction {
        //#forever-iframe
        public Result index() {
            Comet comet = new Comet("parent.cometMessage") {
                public void onConnected() {
                    sendMessage("kiki");
                    sendMessage("foo");
                    sendMessage("bar");
                    close();
View Full Code Here

TOP

Related Classes of play.libs.Comet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.