ctrlX Data Layer .NET API  4.3.0
Loading...
Searching...
No Matches
IProviderNode Interface Reference

The IProvider 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 10000 ms). 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.
 

Properties

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

Detailed Description

The IProvider 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 10000 ms). 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 the 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: