net.rim.pushsdk.subscription.sync
Class SubSyncByStatusManager

java.lang.Object
  extended by net.rim.pushsdk.subscription.sync.SubscriberSyncManager
      extended by net.rim.pushsdk.subscription.sync.SubSyncByStatusManager
All Implemented Interfaces:
Callable<SubscriberSyncResult>

public class SubSyncByStatusManager
extends SubscriberSyncManager

Performs threaded subscriber status syncing based on a request by status to the PPG.

Author:
mdandrea

Field Summary
 
Fields inherited from class net.rim.pushsdk.subscription.sync.SubscriberSyncManager
executor, futureList, pushAppId, pushAppPassword, pushSDKProperties, subscriptionService
 
Constructor Summary
SubSyncByStatusManager()
           
 
Method Summary
 SubscriberSyncResult call()
          Processes the sync results back from a sync request by status.
 void processQueryResult(SubscriptionQueryResult result)
          Processes the sync results back from a sync request by status.
 void setPushSDKProperties(PushSDKProperties pushSDKProperties)
          Support for dependency injection.
 
Methods inherited from class net.rim.pushsdk.subscription.sync.SubscriberSyncManager
getPushAppId, getPushAppPassword, getSubscriberSyncResult, setPushAppId, setPushAppPassword, setSubscriptionService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubSyncByStatusManager

public SubSyncByStatusManager()
Method Detail

setPushSDKProperties

public void setPushSDKProperties(PushSDKProperties pushSDKProperties)
Description copied from class: SubscriberSyncManager
Support for dependency injection. This will override the default PushSDKProperties implementation.

Overrides:
setPushSDKProperties in class SubscriberSyncManager

processQueryResult

public void processQueryResult(SubscriptionQueryResult result)
                        throws PushSDKException
Processes the sync results back from a sync request by status.

Parameters:
result - the sync result to be processed
Throws:
PushSDKException - if any errors occurred adding the sync result to the processing queue

call

public SubscriberSyncResult call()
                          throws Exception
Processes the sync results back from a sync request by status.

Throws:
Exception


Copyright © 2011 Research In Motion. All Rights Reserved.