Package org.jboss.aerogear.unifiedpush.message

Examples of org.jboss.aerogear.unifiedpush.message.UnifiedMessage


                onFailCalled.set(true);
                latch.countDown();
            }
        };

        UnifiedMessage unifiedMessage = new UnifiedMessage.Builder()
                            .pushApplicationId(PUSH_APPLICATION_ID)
                            .masterSecret(MASTER_SECRET)
                            .alert(ALERT_MSG)
                            .sound(DEFAULT_SOUND)
                            .aliases(IDENTIFIERS_LIST)
View Full Code Here


                onFailCalled.set(true);
                latch.countDown();
            }
        };

        UnifiedMessage unifiedMessage = new UnifiedMessage.Builder()
                            .pushApplicationId(PUSH_APPLICATION_ID)
                            .masterSecret(MASTER_SECRET)
                            .alert(ALERT_MSG)
                            .sound(DEFAULT_SOUND)
                            .aliases(IDENTIFIERS_LIST)
View Full Code Here

            public void onError(Throwable throwable) {
                // empty body by intention
            }
        };

        UnifiedMessage unifiedMessage = new UnifiedMessage.Builder()
                            .pushApplicationId(PUSH_APPLICATION_ID)
                            .masterSecret(MASTER_SECRET)
                            .alert(ALERT_MSG)
                            .sound(DEFAULT_SOUND)
                            .aliases(IDENTIFIERS_LIST)
View Full Code Here

         b.append(alert.getConditionLogs().iterator().next().getCondition().toString());

         b.append("Brought by RHQ");


        UnifiedMessage unifiedMessage = new UnifiedMessage.Builder()
                        .pushApplicationId(pluginComponent.pushId)
                        .masterSecret(pluginComponent.masterSecret)
                        .alert(b.toString()) // TODO nicer max 160 chars
                        .sound("default") // iOS specific
                        .build();
View Full Code Here

            Object property = message.getTypedProperties().getProperty(propertyName);
            builder.attribute(propertyName.toString(), property.toString());
         }
      }

      UnifiedMessage unifiedMessage = builder.build();

      sender.send(unifiedMessage, this);

      if (handled)
      {
View Full Code Here

TOP

Related Classes of org.jboss.aerogear.unifiedpush.message.UnifiedMessage

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.