ctrlX Data Layer API for .NET 5  2.1.0
IProviderNode Interface Reference

The provider node interface. More...

Inheritance diagram for IProviderNode:
INativeDisposable

Public Member Functions

DLR_RESULT SetTimeout (uint timeoutMillis)
 Set timeout for a node for asynchron requests (default value is 10000ms). If the handler method of the provider does not return a response within timeoutMillis, the client will automatically receive bad result DL_TIMEOUT. The result after timeout will be discarded. More...
 

Properties

IProviderNodeHandler Handler [get]
 Gets the handler. More...
 
IProvider Provider [get]
 Gets the provider. More...
 
- Properties inherited from INativeDisposable
bool IsDisposed [get]
 Checks disposed More...
 

Detailed Description

The provider node interface.

Definition at line 8 of file IProviderNode.cs.

Member Function Documentation

◆ SetTimeout()

DLR_RESULT SetTimeout ( uint  timeoutMillis)

Set timeout for a node for asynchron requests (default value is 10000ms). If the handler method of the provider does not return a response within timeoutMillis, the client will automatically receive bad result DL_TIMEOUT. The result after timeout will be discarded.

Parameters
timeoutMillisTimeout in milliseconds for this node
Returns
Result of method call
Exceptions
ObjectDisposedExceptionCannot access a disposed object
ArgumentNullExceptionArgument cannot be null.

Property Documentation

◆ Handler

IProviderNodeHandler Handler
get

Gets the handler.

Definition at line 13 of file IProviderNode.cs.

◆ Provider

IProvider Provider
get

Gets the provider.

Definition at line 18 of file IProviderNode.cs.


The documentation for this interface was generated from the following file: