public interface SendService
void sendPush(Push push, Device device) throws IllegalArgumentException
Push
message to one specific device.
If the implementation can not send a message to the specified device
eg. The implementation can only send to Android devices and a iOS device is specified, an
InvalidArgumentException can be thrown.push
- The Push
message to send.devices
- The device to send the message to.IllegalArgumentException
void sendPush(Push push, List<Device> devices) throws IllegalArgumentException
Push
message to a list of devices.
If the implementation can not send a message to one (or more) of
the devices in the list, the service may throw an IllegalArgumentException
and not send further to any other devices in the list.push
- The Push
message to send.devices
- The list of devices to send the message to.IllegalArgumentException
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.