public class BlackberrySendService extends Object implements SendService
SendServiceDelegator
.
SendServiceDelegator
service ensures that the OS specific implementations are called in a
separate thread, calling this service directly can cause unexpected long waits in inappropriate threads.Property | Purpose |
---|---|
shared.sender.blackberry.appId | Blackberry Application ID from the push registration email |
shared.sender.blackberry.password | Password for the application from the push registration email. |
Constructor and Description |
---|
BlackberrySendService() |
public BlackberrySendService()
public void sendPush(Push push, Device device)
SendService
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.sendPush
in interface SendService
push
- The Push
message to send.public void sendPush(Push push, List<Device> devices)
SendService
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.sendPush
in interface SendService
push
- The Push
message to send.devices
- The list of devices to send the message to.Copyright © 2011–2014 The Kuali Foundation. All rights reserved.