UA Bundle SDK .NET
2.5.2.385
|
An object which manages access to the data type dictionaries exposed by a server. More...
Inherits UnifiedAutomation.UaClient.SessionMethodHelper.
Public Member Functions | |
DataTypeManager (ApplicationInstance application) | |
Initializes a new instance of the DataTypeManager class. More... | |
DataTypeManager (Session session) | |
Initializes a new instance of the DataTypeManager class. More... | |
DataTypeDictionary | AddDictionaryToCache (NodeId typeSystemId, ExpandedNodeId dictionaryId, byte[] schemaData) |
Adds or replaces the dictionary in the local cache. More... | |
DataTypeDictionary | FindDictionaryInCache (ExpandedNodeId dictionaryId) |
Finds the data type dictionary in the local cache. More... | |
DataTypeDescription | FindDescriptionInCache (ExpandedNodeId descriptionId) |
Finds the data type description in the local cache. More... | |
DataTypeDescription | FindEncodingInCache (ExpandedNodeId encodingId) |
Finds the data type description for the encoding in the local cache. More... | |
GenericStructureDataType | NewTypeFromDataType (ExpandedNodeId dataTypeId, QualifiedName encodingName, bool doNotUseCache) |
Creates a new generic data type instance for an encoding. More... | |
GenericStructureDataType | NewTypeFromEncoding (ExpandedNodeId encodingId, bool doNotUseCache) |
Creates a new generic data type instance for an encoding. More... | |
DataTypeDictionary | GetDictionary (ExpandedNodeId dictionaryId) |
Reads the DataType Dictionary from the server and updates the local cache. More... | |
IAsyncResult | BeginGetDictionary (ExpandedNodeId dictionaryId, AsyncCallback callback, object callbackData) |
Begins an operation to read the DataType Dictionary from the server and updates the local cache. More... | |
DataTypeDictionary | EndGetDictionary (IAsyncResult result) |
Completes an operation to read the DataType Dictionary from the server and updates the local cache. More... | |
DataTypeDescription | GetDescriptionFromEncoding (ExpandedNodeId encodingId, bool doNotUseCache) |
Gets the DataType Description from the DataType Encoding. More... | |
IAsyncResult | BeginGetDescriptionFromEncoding (ExpandedNodeId encodingId, bool doNotUseCache, AsyncCallback callback, object callbackData) |
Begins an operation to get the DataType Description from the DataType Encoding. More... | |
DataTypeDescription | EndGetDescriptionFromEncoding (IAsyncResult result) |
Completes an operation to gets the DataType Description from the DataType Encoding. More... | |
DataTypeDescription | GetDescriptionFromDataType (ExpandedNodeId dataTypeId, QualifiedName encodingName, bool doNotUseCache) |
Gets the DataType Description associated with a DataType. More... | |
IAsyncResult | BeginGetDescriptionFromDataType (ExpandedNodeId dataTypeId, QualifiedName encodingName, bool doNotUseCache, AsyncCallback callback, object callbackData) |
Begins an operation to get the DataType Description associated with a DataType. More... | |
DataTypeDescription | EndGetDescriptionFromDataType (IAsyncResult result) |
Completes an operation to get the OPCBinary DataType Description associated with a DataType. More... | |
GenericEncodeableObject | ParseValue (ExtensionObject value) |
Parses the value. More... | |
IAsyncResult | BeginParseValue (ExtensionObject value, AsyncCallback callback, object callbackData) |
Begins the parse value. More... | |
GenericEncodeableObject | EndParseValue (IAsyncResult result) |
Begins the parse value. More... | |
Public Member Functions inherited from UnifiedAutomation.UaClient.SessionMethodHelper | |
SessionMethodHelper (ApplicationInstance application) | |
Initializes a new instance of the SessionMethodHelper class. More... | |
SessionMethodHelper (Session session) | |
Initializes a new instance of the SessionMethodHelper class. More... | |
void | Dispose () |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
void | Connect (int timeout) |
Connects to the server. More... | |
void | BeginConnect (AsyncCallback callback, object callbackData) |
Connects to the server. More... | |
void | Disconnect () |
Disconnects from the server. More... | |
Properties | |
int | BlockSize [get, set] |
Gets or sets the size of the block used when reading dictionaries from the server. More... | |
Properties inherited from UnifiedAutomation.UaClient.SessionMethodHelper | |
string | EndpointUrl [get, set] |
Gets or sets the endpoint URL. More... | |
Session | Session [get] |
Gets the session. More... | |
RequestSettings | DefaultRequestSettings [get, set] |
Gets or sets the default request settings. More... | |
int | DefaultTimeout [get] |
Gets the default timeout. More... | |
UserIdentity | AdminCredentials [get, set] |
Gets or sets the administrator credentials. More... | |
bool | IsConnected [get] |
Gets a value indicating whether a connection to the server is active. More... | |
bool | MustCloseSession [get] |
A flag indicating that the object created the session and therefore must close it. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from UnifiedAutomation.UaClient.SessionMethodHelper | |
virtual void | Dispose (bool disposing) |
Releases unmanaged and—optionally—managed resources. More... | |
UserIdentity | RequestAdminCredentials () |
Gets the admin credentials. More... | |
Events inherited from UnifiedAutomation.UaClient.SessionMethodHelper | |
EventHandler | ServerStatusChanged |
Occurs when the server status changes. More... | |
EventHandler < CredentialsRequiredEventArgs > | AdminCredentialsRequired |
Raised when admin credentials are required. More... | |
An object which manages access to the data type dictionaries exposed by a server.
|
inline |
Initializes a new instance of the DataTypeManager class.
application | The application. |
System.ArgumentNullException | application |
|
inline |
Initializes a new instance of the DataTypeManager class.
session | The session. |
System.ArgumentNullException | session |
|
inline |
Adds or replaces the dictionary in the local cache.
typeSystemId | The type system identifier. |
dictionaryId | The dictionary identifier. |
schemaData | The schema data (an OPCBinary or XMLSchema document). |
|
inline |
Begins an operation to get the DataType Description associated with a DataType.
dataTypeId | The data type identifier. |
encodingName | Name of the encoding to used when finding the description. |
doNotUseCache | If TRUE the information will be read from the server and the contents of the cache will be updated. |
callback | The callback. |
callbackData | The callback data. |
System.ArgumentNullException | dataTypeId |
|
inline |
Begins an operation to get the DataType Description from the DataType Encoding.
encodingId | The data type encoding identifier. |
doNotUseCache | If TRUE the information will be read from the server and the contents of the cache will be updated. |
callback | The callback. |
callbackData | The callback data. |
System.ArgumentNullException | dataTypeId |
|
inline |
Begins an operation to read the DataType Dictionary from the server and updates the local cache.
dictionaryId | The data type dictionary identifier. |
callback | The callback. |
callbackData | The callback data. |
System.ArgumentNullException | dictionaryId |
|
inline |
Begins the parse value.
value | The value. |
callback | The callback. |
callbackData | The callback data. |
System.ArgumentNullException | value |
|
inline |
Completes an operation to get the OPCBinary DataType Description associated with a DataType.
result | The object used to manage the state of the asynchronous operation. |
System.ArgumentNullException | result |
|
inline |
Completes an operation to gets the DataType Description from the DataType Encoding.
result | The object used to manage the state of the asynchronous operation. |
System.ArgumentNullException | result |
|
inline |
Completes an operation to read the DataType Dictionary from the server and updates the local cache.
result | The object used to manage the state of the asynchronous operation. |
System.ArgumentNullException | result |
|
inline |
Begins the parse value.
result | The object used to manage the state of the asynchronous operation. |
System.ArgumentNullException | result |
|
inline |
Finds the data type description in the local cache.
descriptionId | The data type description identifier. |
|
inline |
Finds the data type dictionary in the local cache.
dictionaryId | The data dictionary identifier. |
|
inline |
Finds the data type description for the encoding in the local cache.
encodingId | The encoding identifier. |
|
inline |
Gets the DataType Description associated with a DataType.
dataTypeId | The data type identifier. |
encodingName | Name of the encoding to used when finding the description. |
doNotUseCache | If TRUE the information will be read from the server and the contents of the cache will be updated. |
|
inline |
Gets the DataType Description from the DataType Encoding.
encodingId | The data type encoding identifier. |
doNotUseCache | If TRUE the information will be read from the server and the contents of the cache will be updated. |
|
inline |
Reads the DataType Dictionary from the server and updates the local cache.
dictionaryId | The data type dictionary identifier. |
|
inline |
Creates a new generic data type instance for an encoding.
dataTypeId | The data type identifier. |
encodingName | The name of the data type encoding. |
doNotUseCache | If TRUE the information will be read from the server and the contents of the cache will be updated. |
|
inline |
Creates a new generic data type instance for an encoding.
encodingId | The encoding identifier. |
doNotUseCache | If TRUE the information will be read from the server and the contents of the cache will be updated. |
|
inline |
Parses the value.
value | The value. |
|
getset |
Gets or sets the size of the block used when reading dictionaries from the server.
The size of the block used when reading dictionaries from the server.