InnerDocumentServiceFactory Class

Packages > @fluidframework/iframe-driver > InnerDocumentServiceFactory

Connects to the outerDocumentService factory across the iframe boundary

Signature:

export declare class InnerDocumentServiceFactory implements IDocumentServiceFactory 

Implements: IDocumentServiceFactory

Properties

List of properties for this class
Property Modifiers Type Description
protocolName (not declared)
protocolName static (not declared)

Methods

List of methods on this class
Method Modifiers Description
create(outerPort) static
createContainer(createNewSummary, resolvedUrl, logger)
createDocumentService(resolvedUrl, logger)

Properties

protocolName

Signature:

readonly protocolName = "fluid:";

protocolName

Signature:

static readonly protocolName = "fluid:";

Methods

create

Signature:

static create(outerPort: MessagePort): Promise<InnerDocumentServiceFactory>;

Parameters

List of parameters
Parameter Type Description
outerPort MessagePort

Returns:

Promise<InnerDocumentServiceFactory>

createContainer

Signature:

createContainer(createNewSummary: ISummaryTree, resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger): Promise<IDocumentService>;

Parameters

List of parameters
Parameter Type Description
createNewSummary ISummaryTree
resolvedUrl IResolvedUrl
logger ITelemetryBaseLogger

Returns:

Promise<IDocumentService>

createDocumentService

Signature:

createDocumentService(resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger): Promise<IDocumentService>;

Parameters

List of parameters
Parameter Type Description
resolvedUrl IResolvedUrl
logger ITelemetryBaseLogger

Returns:

Promise<IDocumentService>