Table of Contents

Method CreateFromRemoteAndAcceptMessage

Namespace
Skyline.DataMiner.Core.InterAppCalls.Common.CallBulk
Assembly
Skyline.DataMiner.Core.InterAppCalls.Common.dll

CreateFromRemoteAndAcceptMessage(IConnection, int, int, int, ISerializer, ISerializer)

Creates an inter-app call from the contents of the specified parameter.

public static IInterAppCall CreateFromRemoteAndAcceptMessage(IConnection connection, int agentId, int elementId, int parameterId, ISerializer interAppSerializer, ISerializer messageSerializer)

Parameters

connection IConnection

The raw SLNet connection.

agentId int

The source DataMiner Agent ID.

elementId int

The source element ID.

parameterId int

The source parameter ID.

interAppSerializer ISerializer

Serializer to use for InterAppCall.

messageSerializer ISerializer

Serializer to use for Message.

Returns

IInterAppCall

An inter-app call.

Exceptions

ArgumentNullException

connection or interAppSerializer or messageSerializer is null.

ArgumentException

The format of the content of the specified parameter is invalid and deserialization failed.

CreateFromRemoteAndAcceptMessage(IConnection, int, int, int, IEnumerable<Type>)

Creates an inter-app call from the contents of the specified parameter.

public static IInterAppCall CreateFromRemoteAndAcceptMessage(IConnection connection, int agentId, int elementId, int parameterId, IEnumerable<Type> knownTypes)

Parameters

connection IConnection

The raw SLNet connection.

agentId int

The source DataMiner Agent ID.

elementId int

The source element ID.

parameterId int

The source parameter ID.

knownTypes IEnumerable<Type>

A list of known message types.

Returns

IInterAppCall

An inter-app call.

Exceptions

ArgumentNullException

connection or knownTypes is null.

ArgumentException

The format of the content of the specified parameter is invalid and deserialization failed.