Table of Contents

Method Create

Namespace
Skyline.DataMiner.Net.Swarming.Helper
Assembly
SLNetTypes.dll

Create(IConnection)

Creates a new SwarmingHelper instance.

public static ISwarmingHelper Create(IConnection connection)

Parameters

connection IConnection

Active connection that can be used to send swarming requests through.

Returns

ISwarmingHelper

Swarming Helper

Exceptions

ArgumentNullException

No connection specified

Create(Func<DMSMessage, DMSMessage[]>)

Creates a new SwarmingHelper instance.

public static ISwarmingHelper Create(Func<DMSMessage, DMSMessage[]> handleMessageFunc)

Parameters

handleMessageFunc Func<DMSMessage, DMSMessage[]>

Callback that the helper can use to send requests to the DataMiner Agent.

Returns

ISwarmingHelper

Swarming Helper

Exceptions

ArgumentNullException

No callback handler specified