winccoa-manager
    Preparing search index...

    Interface ServiceOptions

    Options for service hosted in a manager.

    interface ServiceOptions {
        get managerNumber(): number;
        get managerType(): number;
        get payloadEncryptionMode(): PayloadEncryptionMode;
        set payloadEncryptionMode(mode: PayloadEncryptionMode): void;
        get replica(): ServiceHostingReplica;
        get serviceHostingType(): ServiceHostingType;
        get serviceNameSuffix(): string;
        set serviceNameSuffix(suffix: string): void;
        resetPayloadEncryptionMode(): void;
        withGlobalService(): void;
        withManagerSpecificService(): void;
    }

    Hierarchy (View Summary)

    Index

    Accessors

    • get managerNumber(): number

      The number of the manager which is hosting the service.

      Returns number

      The property is only relevant if the service is manager-specific.

    • get managerType(): number

      The type of the manager which is hosting the service.

      Returns number

      The property is only relevant if the service is manager-specific.

    • get payloadEncryptionMode(): PayloadEncryptionMode

      Gets the payload encryption mode for the service.

      Returns PayloadEncryptionMode

      The payload encryption mode determines how the service encrypts its payloads. If not configured explicitly, the system default payload encryption mode is used.

    • set payloadEncryptionMode(mode: PayloadEncryptionMode): void

      Sets the payload encryption mode for the service.

      Parameters

      Returns void

      The payload encryption mode determines how the service encrypts its payloads. If not configured explicitly, the system default payload encryption mode is used.

    • get replica(): ServiceHostingReplica

      The replica of the manager which is hosting the service.

      Returns ServiceHostingReplica

      The replica is only relevant for manager-specific services hosted in non-redundant managers in redundant projects.

    • get serviceHostingType(): ServiceHostingType

      The hosting type of the service.

      Returns ServiceHostingType

      Determines how the service is hosted (e.g. global or manager-specific).

    • get serviceNameSuffix(): string

      The suffix appended to the service name.

      Returns string

      The service name suffix is appended to the service base name to create a unique service full name. Default is an empty string.

    • set serviceNameSuffix(suffix: string): void

      Sets the suffix appended to the service name.

      Parameters

      • suffix: string

      Returns void

      The service name suffix is appended to the service base name to create a unique service full name. Default is an empty string.

    Methods

    • Resets the payload encryption mode to system default.

      Returns void

    • Host service as a global service.

      Returns void

    • Host service as manager-specific service.

      Returns void