Class MirroringTransferClient

The MirroringTransferClient class take care the mirroring package and send to transfer component the MirroringTransferClient has a TransferQueueManager class which queue the mirroing packages.

Inheritance
System.Object
MirroringTransferClient
Namespace: EPiServer.MirroringService.MirroringTransferProtocol.WCF
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0
Syntax
public class MirroringTransferClient : MirroringTransferProviderBase

Constructors

MirroringTransferClient()

Declaration
public MirroringTransferClient()

Properties

MirroringDataTransfer

Declaration
public IMirroringDataTransfer MirroringDataTransfer { get; protected set; }
Property Value
Type Description
IMirroringDataTransfer

Methods

Cleanup(Guid, MirroringStatus)

Declaration
public override void Cleanup(Guid context, MirroringStatus mirroringStatus)
Parameters
Type Name Description
System.Guid context
MirroringStatus mirroringStatus
Overrides

CompleteMirroring(Guid)

Completes the mirroring.

Declaration
public override void CompleteMirroring(Guid context)
Parameters
Type Name Description
System.Guid context

The context.

Overrides

Initialize(String, NameValueCollection)

Initializes the provider.

Declaration
public override void Initialize(string name, NameValueCollection config)
Parameters
Type Name Description
System.String name

The friendly name of the provider.

System.Collections.Specialized.NameValueCollection config

A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.

Overrides
Exceptions
Type Condition
System.ArgumentNullException

The name of the provider is null.

System.ArgumentException

The name of the provider has a length of zero.

System.InvalidOperationException

An attempt is made to call System.Configuration.Provider.ProviderBase.Initialize(System.String,System.Collections.Specialized.NameValueCollection) on a provider after the provider has already been initialized.

InitializeMirroring(Guid, MirroringInitializeData)

Initializes the mirroring.

Declaration
public override MirroringStatus InitializeMirroring(Guid context, MirroringInitializeData mirroringInitializeData)
Parameters
Type Name Description
System.Guid context

The context.

MirroringInitializeData mirroringInitializeData

The mirroring initialize data.

Returns
Type Description
MirroringStatus
Overrides

ProcessFilePackage(Guid, String)

Processes the file package.

Declaration
public override void ProcessFilePackage(Guid context, string filePath)
Parameters
Type Name Description
System.Guid context

The context.

System.String filePath

The file path.

Overrides

ProcessPackage(Guid, String)

Processes the package.

Declaration
public override void ProcessPackage(Guid context, string filePath)
Parameters
Type Name Description
System.Guid context

The context.

System.String filePath

The file path.

Overrides

SetChunkSize()

Declaration
public void SetChunkSize()

Extension Methods