Table of Contents

Interface IPrimaryInitiatorBuilder

Namespace
PushTechnology.ClientInterface.Client.Features.Control.Clients
Assembly
Diffusion.Client.dll

Builder for a IPrimaryInitiator.

A builder of this type may be created using NewRemoteServerBuilder(RemoteServerType) specifying RemoteServerType.PRIMARY_INITIATOR as the parameter.

public interface IPrimaryInitiatorBuilder : IRemoteServerBuilder<IPrimaryInitiatorBuilder>
Inherited Members

Methods

Build(string, List<string>, string)

Builds a primary initiator using the current values known to this builder.

IPrimaryInitiator Build(string name, List<string> urls, string connector)

Parameters

name string

The name of the primary initiator which must correspond to the name of a ISecondaryAcceptor defined on the secondary server.

urls List<string>

The list of URLs to use to initiate connections to the secondary servers.

connector string

The name of the connector used to establish the connection with the secondary server.

Returns

IPrimaryInitiator

A new primary initiator instance.

RetryDelay(int)

Specifies the delay after losing a connection before attempting a reconnection.

The value is specified in milliseconds. Default is 1000 (1 second).

IPrimaryInitiatorBuilder RetryDelay(int delay)

Parameters

delay int

The delay.

Returns

IPrimaryInitiatorBuilder

The builder.