Class FcmXmppApiProvider

java.lang.Object
tigase.push.fcm.FcmXmppApiProvider
All Implemented Interfaces:
tigase.kernel.beans.config.ConfigurationChangedAware, tigase.kernel.beans.UnregisterAware, IPushProvider, FcmProvider, tigase.stats.ComponentStatisticsProvider, tigase.stats.StatisticsProviderIfc

@Bean(name="fcm-xmpp-api", parent=PushNotificationsComponent.class, active=false) @Deprecated public class FcmXmppApiProvider extends Object implements IPushProvider, tigase.kernel.beans.config.ConfigurationChangedAware, tigase.kernel.beans.UnregisterAware, FcmProvider, tigase.stats.ComponentStatisticsProvider
Deprecated.
Created by andrzej on 05.01.2017.
  • Constructor Details

    • FcmXmppApiProvider

      public FcmXmppApiProvider()
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
      Specified by:
      getName in interface IPushProvider
    • getDescription

      public String getDescription()
      Deprecated.
      Specified by:
      getDescription in interface IPushProvider
    • pushNotification

      public CompletableFuture<String> pushNotification(IPushSettings.IDevice device, INotification notification)
      Deprecated.
      Specified by:
      pushNotification in interface IPushProvider
      Returns:
      notification ID as String
    • beforeUnregister

      public void beforeUnregister()
      Deprecated.
      Specified by:
      beforeUnregister in interface tigase.kernel.beans.UnregisterAware
    • beanConfigurationChanged

      public void beanConfigurationChanged(Collection<String> changedFields)
      Deprecated.
      Specified by:
      beanConfigurationChanged in interface tigase.kernel.beans.config.ConfigurationChangedAware
    • connected

      public void connected(FcmConnection conn)
      Deprecated.
      Specified by:
      connected in interface FcmProvider
    • disconnected

      public void disconnected(FcmConnection conn)
      Deprecated.
      Specified by:
      disconnected in interface FcmProvider
    • unregisterDevice

      public void unregisterDevice(String deviceId)
      Deprecated.
      Specified by:
      unregisterDevice in interface FcmProvider
    • everyHour

      public void everyHour()
      Deprecated.
      Specified by:
      everyHour in interface tigase.stats.ComponentStatisticsProvider
    • everyMinute

      public void everyMinute()
      Deprecated.
      Specified by:
      everyMinute in interface tigase.stats.ComponentStatisticsProvider
    • everySecond

      public void everySecond()
      Deprecated.
      Specified by:
      everySecond in interface tigase.stats.ComponentStatisticsProvider
    • getStatistics

      public void getStatistics(String compName, tigase.stats.StatisticsList list)
      Deprecated.
      Specified by:
      getStatistics in interface tigase.stats.StatisticsProviderIfc
    • preparePayload

      protected Map<String,Object> preparePayload(INotification notification)
      Deprecated.
    • pushNotificationFailed

      public void pushNotificationFailed(String error)
      Deprecated.
      Specified by:
      pushNotificationFailed in interface FcmProvider