C# Class Amazon.MobileAnalytics.MobileAnalyticsManager.Internal.DeliveryClient

Delivery client periodically sends events in local persistent storage to Mobile Analytics server. Once the events is delivered successfully, those events would be deleted from local storage.
Inheritance: IDeliveryClient
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode Description
AttemptDelivery ( ) : void

Attempts the delivery. Delivery will fail if any of the policies IsAllowed() returns false. The delivery are attmpted in batches of fixed size. To increase or decrease the size, you can override MaxRequestSize in MobileAnalyticsManagerConfig.Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManagerConfig

AttemptDeliveryAsync ( ) : Task

Attempts the delivery. Delivery will fail if any of the policies IsAllowed() returns false. The delivery are attmpted in batches of fixed size. To increase or decrease the size, you can override MaxRequestSize in MobileAnalyticsManagerConfig.Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManagerConfig

DeliveryClient ( IDeliveryPolicyFactory policyFactory, MobileAnalyticsManagerConfig maConfig, ClientContext clientContext, AWSCredentials credentials, RegionEndpoint regionEndPoint, MobileAnalyticsManager maManager ) : System

Constructor of Amazon.MobileAnalytics.MobileAnalyticsManager.Internal.DeliveryClient class.

DeliveryClient ( MobileAnalyticsManagerConfig maConfig, ClientContext clientContext, AWSCredentials credentials, RegionEndpoint regionEndPoint, MobileAnalyticsManager maManager ) : System

Constructor of Amazon.MobileAnalytics.MobileAnalyticsManager.Internal.DeliveryClient class.

Dispose ( ) : void

Dispose pattern implementation

EnqueueEventsForDelivery ( Amazon eventObject ) : void

Enqueues the events for delivery. The event is stored in an instance of Amazon.MobileAnalytics.MobileAnalyticsManager.Internal.IEventStore.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Dispose pattern implementation

Private Methods

Méthode Description
EnqueueEventsHelper ( Amazon eventObject ) : void
SubmitEvents ( List rowIds, List eventList ) : Task
SubmitEvents ( List rowIds, List eventList ) : void

Submits a single batch of events to the service.

Method Details

AttemptDelivery() public méthode

Attempts the delivery. Delivery will fail if any of the policies IsAllowed() returns false. The delivery are attmpted in batches of fixed size. To increase or decrease the size, you can override MaxRequestSize in MobileAnalyticsManagerConfig.Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManagerConfig
public AttemptDelivery ( ) : void
Résultat void

AttemptDeliveryAsync() public méthode

Attempts the delivery. Delivery will fail if any of the policies IsAllowed() returns false. The delivery are attmpted in batches of fixed size. To increase or decrease the size, you can override MaxRequestSize in MobileAnalyticsManagerConfig.Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManagerConfig
public AttemptDeliveryAsync ( ) : Task
Résultat Task

DeliveryClient() public méthode

Constructor of Amazon.MobileAnalytics.MobileAnalyticsManager.Internal.DeliveryClient class.
public DeliveryClient ( IDeliveryPolicyFactory policyFactory, MobileAnalyticsManagerConfig maConfig, ClientContext clientContext, AWSCredentials credentials, RegionEndpoint regionEndPoint, MobileAnalyticsManager maManager ) : System
policyFactory IDeliveryPolicyFactory An instance of IDeliveryPolicyFactory
maConfig Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManagerConfig
clientContext ClientContext An instance of ClientContext
credentials Amazon.Runtime.AWSCredentials An instance of Credentials
regionEndPoint RegionEndpoint Region end point
maManager Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManager
Résultat System

DeliveryClient() public méthode

Constructor of Amazon.MobileAnalytics.MobileAnalyticsManager.Internal.DeliveryClient class.
public DeliveryClient ( MobileAnalyticsManagerConfig maConfig, ClientContext clientContext, AWSCredentials credentials, RegionEndpoint regionEndPoint, MobileAnalyticsManager maManager ) : System
maConfig Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManagerConfig Mobile Analytics Manager configuration.
clientContext ClientContext An instance of ClientContext.
credentials Amazon.Runtime.AWSCredentials An instance of Credentials.
regionEndPoint RegionEndpoint Region endpoint.
maManager Amazon.MobileAnalytics.MobileAnalyticsManager.MobileAnalyticsManager Mobile Analytics Manager instance.
Résultat System

Dispose() public méthode

Dispose pattern implementation
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Dispose pattern implementation
protected Dispose ( bool disposing ) : void
disposing bool if disposing
Résultat void

EnqueueEventsForDelivery() public méthode

Enqueues the events for delivery. The event is stored in an instance of Amazon.MobileAnalytics.MobileAnalyticsManager.Internal.IEventStore.
public EnqueueEventsForDelivery ( Amazon eventObject ) : void
eventObject Amazon Event object.
Résultat void