Package org.jboss.aerogear.unifiedpush

Examples of org.jboss.aerogear.unifiedpush.PushConfig


        client = new SimplePushClient("ws://localhost:7777/simplepush/websocket");
        client.connect();
        client.register(new RegistrationListener() {
            @Override
            public void onRegistered(String channelId, String simplePushEndPoint) {
                final PushConfig config = new PushConfig();
                config.setDeviceToken(channelId);
                config.setSimplePushEndpoint(simplePushEndPoint);

                config.setAlias("john");
                config.setCategories(Arrays.asList("lead"));
                unifiedPushClient.register(config);
            }
        });

        client.addMessageListener(new MessageListener() {
View Full Code Here

TOP

Related Classes of org.jboss.aerogear.unifiedpush.PushConfig

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.