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
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
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