Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RemoteServerDefinitionImpl

The request of RemoteServers CREATE_REMOTE_SERVER service

Hierarchy

  • RemoteServerDefinitionImpl

Implements

Index

Constructors

constructor

  • Create a new NamedRemoteServerSpecification instance

    Parameters

    • type: RemoteServerType
    • name: string

      the remote server name

    • urls: string[]
    • principal: string

      the principal used for connection to the remote server

    • connectionOptions: Partial<ConnectionOptions>

      the options used for connection to the remote server

    • credentials: Credentials

      the credentials used for connection to the remote server

    • Optional connector: undefined | string
    • Optional missingTopicNotificationFilter: undefined | string

    Returns RemoteServerDefinitionImpl

Properties

Readonly connectionOptions

connectionOptions: Partial<ConnectionOptions>

The remote server connection options.

Optional Readonly connector

connector: undefined | string

The connector that the primary initiator will use to establish a connection between the secondary server and the primary server.

Readonly credentials

credentials: Credentials

The credentials used for connection to the remote server.

Optional Readonly missingTopicNotificationFilter

missingTopicNotificationFilter: undefined | string

The missing topic notification filter expression.

Readonly name

name: string

The name of the remote server.

Readonly primaryHostName

primaryHostName: string

The hostname of the expected primary server, for secure WebSocket validation.

Readonly principal

principal: string

The principal used for connection.

Readonly retryDelay

retryDelay: number

The interval in milliseconds between connection retries.

If a primary initiator cannot connect to a secondary server, or loses the connection, this is the amount of time before it will try to connect again.

Readonly type

inheritdoc

Readonly url

url: string

The url used for connection to the primary server.

Readonly urls

urls: string[]

The urls for connection to secondary servers.

Methods

Static createPrimaryDefinition

  • createPrimaryDefinition(name: string, urls: string[], retryDelay: number, connector?: undefined | string): RemoteServerDefinition
  • Create a primary initiator definition.

    Parameters

    • name: string
    • urls: string[]
    • retryDelay: number
    • Optional connector: undefined | string

    Returns RemoteServerDefinition

Static createSecondaryDefinition

  • Generate a secondary initiator definition.

    Parameters

    Returns RemoteServerDefinitionImpl

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.