Interface IMirroringDataTransfer

Defines the Transfer protocol interfaces

Namespace: EPiServer.MirroringService.MirroringTransferProtocol.Common
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0
Syntax
public interface IMirroringDataTransfer

Methods

AppendMirroringPackage(Guid, MirroringTransferData)

Appends the mirroring package.

Declaration
MirroringStatus AppendMirroringPackage(Guid context, MirroringTransferData mirroringTransferData)
Parameters
Type Name Description
System.Guid context

The context.

MirroringTransferData mirroringTransferData

The mirroring transfer data.

Returns
Type Description
MirroringStatus

Cleanup(Guid)

Cleanups the specified context.

Declaration
void Cleanup(Guid context)
Parameters
Type Name Description
System.Guid context

The context.

CompleteMirroring(Guid)

Completes the mirroring.

Declaration
MirroringStatus CompleteMirroring(Guid context)
Parameters
Type Name Description
System.Guid context

The context.

Returns
Type Description
MirroringStatus

CompleteMirroringPackage(Guid, MirroringPackageHeader)

Completes the mirroring package.

Declaration
MirroringStatus CompleteMirroringPackage(Guid context, MirroringPackageHeader mirroringPackageHeader)
Parameters
Type Name Description
System.Guid context

The context.

MirroringPackageHeader mirroringPackageHeader

The mirroring package header.

Returns
Type Description
MirroringStatus

GetMirroringStatus(Guid)

Gets the status.

Declaration
MirroringStatus GetMirroringStatus(Guid context)
Parameters
Type Name Description
System.Guid context

The context.

Returns
Type Description
MirroringStatus

InitializeMirroring(Guid, ref MirroringInitializeData)

Initializes the mirroring.

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

The context.

MirroringInitializeData mirroringInitializeData

The mirroring initialize data.

Returns
Type Description
MirroringStatus

ProcessPackage(Guid, MirroringPackageHeader)

Processes the package.

Declaration
MirroringStatus ProcessPackage(Guid context, MirroringPackageHeader mirroringPackageHeader)
Parameters
Type Name Description
System.Guid context

The context.

MirroringPackageHeader mirroringPackageHeader

The mirroring package header.

Returns
Type Description
MirroringStatus

StartMirroringPackage(Guid, MirroringPackageHeader)

Starts the mirroring package.

Declaration
MirroringStatus StartMirroringPackage(Guid context, MirroringPackageHeader mirroringPackageHeader)
Parameters
Type Name Description
System.Guid context

The context.

MirroringPackageHeader mirroringPackageHeader

The mirroring package header.

Returns
Type Description
MirroringStatus

Extension Methods