@Bean(name="apns-binary-api",
parent=PushNotificationsComponent.class,
active=false)
public class APNsBinaryApiProvider
extends Object
implements IPushProvider, tigase.kernel.beans.config.ConfigurationChangedAware, tigase.kernel.beans.UnregisterAware
| Modifier and Type | Class and Description |
|---|---|
static class |
APNsBinaryApiProvider.InactiveDeviceCleanup |
| Constructor and Description |
|---|
APNsBinaryApiProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
beanConfigurationChanged(Collection<String> changedFields) |
void |
beforeUnregister() |
protected void |
cleanupInactiveDevices() |
String |
getDescription() |
String |
getName() |
protected com.notnoop.apns.PayloadBuilder |
preparePayload(com.notnoop.apns.PayloadBuilder builder,
INotification notification) |
void |
pushNotification(String deviceId,
INotification notification) |
protected void |
unregisterDevice(String deviceId) |
public String getName()
getName in interface IPushProviderpublic String getDescription()
getDescription in interface IPushProviderpublic void pushNotification(String deviceId, INotification notification)
pushNotification in interface IPushProviderpublic void beforeUnregister()
beforeUnregister in interface tigase.kernel.beans.UnregisterAwarepublic void beanConfigurationChanged(Collection<String> changedFields)
beanConfigurationChanged in interface tigase.kernel.beans.config.ConfigurationChangedAwareprotected void cleanupInactiveDevices()
protected com.notnoop.apns.PayloadBuilder preparePayload(com.notnoop.apns.PayloadBuilder builder,
INotification notification)
protected void unregisterDevice(String deviceId)
Copyright © 2017–2019 Tigase. All rights reserved.