Interface IPrimaryInitiatorBuilder

Builder for a IPrimaryInitiator.

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

Inherited Members
IRemoteServerBuilder<IPrimaryInitiatorBuilder>.Reset()
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Clients
Assembly: Diffusion.Client.dll
Syntax
public interface IPrimaryInitiatorBuilder : IRemoteServerBuilder<IPrimaryInitiatorBuilder>

Methods

Build(String, List<String>, String)

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

Declaration
IPrimaryInitiator Build(string name, List<string> urls, string connector)
Parameters
Type Name Description
System.String name

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

List<System.String> urls

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

System.String connector

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

Returns
Type Description
IPrimaryInitiator

A new primary initiator instance.

RetryDelay(Int32)

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

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

Declaration
IPrimaryInitiatorBuilder RetryDelay(int delay)
Parameters
Type Name Description
System.Int32 delay

The delay.

Returns
Type Description
IPrimaryInitiatorBuilder

The builder.

Back to top