.NET Based OPC UA Client/Server SDK  3.1.0.500
UnifiedAutomation.UaServer.TransactionHandle Class Reference

A handle for a transaction. More...

Inherited by UnifiedAutomation.UaServer.CallTransactionHandle, UnifiedAutomation.UaServer.DataTransactionHandle, UnifiedAutomation.UaServer.EventTransactionHandle, UnifiedAutomation.UaServer.HistoryDataTransactionHandle, and UnifiedAutomation.UaServer.HistoryEventTransactionHandle.

Public Member Functions

 TransactionHandle (RequestContext context, TransactionType transactionType, Delegate callback, object callbackData)
 Initializes a new instance of the TransactionHandle class. More...
 
void Add< T > (T parameter)
 Adds the specified parameter to the list associated with the type. More...
 
List< T > GetList< T > ()
 Gets the list of parameters with the specified type. More...
 

Properties

RequestContext Context [get]
 Gets the request context. More...
 
TransactionType TransactionType [get]
 Gets the type of the transaction. More...
 
Delegate Callback [get]
 The callback invoked whenever an operation within a transaction completes. More...
 
object CallbackData [get]
 Gets the opaque data associated with the transaction by creator. More...
 
bool Done [get]
 Gets or sets a value indicating whether the transaction is done. More...
 
uint ExpectedItemCount [get, set]
 Gets or sets the total item count hint. More...
 

Detailed Description

A handle for a transaction.

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.TransactionHandle.TransactionHandle ( RequestContext  context,
TransactionType  transactionType,
Delegate  callback,
object  callbackData 
)
inline

Initializes a new instance of the TransactionHandle class.

Parameters
contextThe request context.
transactionTypeType of the transaction.
callbackThe callback to use when an operation completes.
callbackDataThe callback data.

Member Function Documentation

void UnifiedAutomation.UaServer.TransactionHandle.Add< T > ( parameter)
inline

Adds the specified parameter to the list associated with the type.

Template Parameters
T
Parameters
parameterThe parameter.

This method is used to efficiently store parameters for multiple operations which can be processed as a batch.

List<T> UnifiedAutomation.UaServer.TransactionHandle.GetList< T > ( )
inline

Gets the list of parameters with the specified type.

Template Parameters
TThe type of parameter.
Returns
The list.

This method returns a reference to the list populated with the Add method.

Property Documentation

Delegate UnifiedAutomation.UaServer.TransactionHandle.Callback
get

The callback invoked whenever an operation within a transaction completes.

object UnifiedAutomation.UaServer.TransactionHandle.CallbackData
get

Gets the opaque data associated with the transaction by creator.

RequestContext UnifiedAutomation.UaServer.TransactionHandle.Context
get

Gets the request context.

bool UnifiedAutomation.UaServer.TransactionHandle.Done
get

Gets or sets a value indicating whether the transaction is done.

uint UnifiedAutomation.UaServer.TransactionHandle.ExpectedItemCount
getset

Gets or sets the total item count hint.

TransactionType UnifiedAutomation.UaServer.TransactionHandle.TransactionType
get

Gets the type of the transaction.

The type of the transaction.


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