package org.whispersystems.textsecure.push; import java.util.LinkedList; import java.util.List; public class OutgoingGcmMessage { private List destinations; private String messageText; private List attachments; public OutgoingGcmMessage(List destinations, String messageText, List attachments) { this.destinations = destinations; this.messageText = messageText; this.attachments = attachments; } public OutgoingGcmMessage(String destination, String messageText) { this.destinations = new LinkedList(); this.destinations.add(destination); this.messageText = messageText; this.attachments = new LinkedList(); } public List getDestinations() { return destinations; } public String getMessageText() { return messageText; } public List getAttachments() { return attachments; } }