C# Класс 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.
Наследование: IDeliveryClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Dispose pattern implementation

Приватные методы

Метод Описание
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.

Описание методов

AttemptDelivery() публичный Метод

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
Результат void

AttemptDeliveryAsync() публичный Метод

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
Результат Task

DeliveryClient() публичный Метод

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
Результат System

DeliveryClient() публичный Метод

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.
Результат System

Dispose() публичный Метод

Dispose pattern implementation
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Dispose pattern implementation
protected Dispose ( bool disposing ) : void
disposing bool if disposing
Результат void

EnqueueEventsForDelivery() публичный Метод

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.
Результат void