Property | Type | Description | |
---|---|---|---|
UpdateRequestHeader | void |
Method | Description | |
---|---|---|
ClientBase ( ITransportChannel channel ) : System |
Intializes the object with a channel and a message context.
|
|
Close ( ) : Opc.Ua.StatusCode |
Closes the channel.
|
|
Dispose ( ) : void |
Frees any unmanaged resources.
|
|
GetResult ( Opc.Ua.StatusCode statusCode, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) : |
Converts a service response to a ServiceResult object.
|
|
NewRequestHandle ( ) : uint |
Generates a unique request handle.
|
|
ValidateDataValue ( Opc.Ua.DataValue value, |
Validates a DataValue returned from the server.
|
|
ValidateDiagnosticInfos ( DiagnosticInfoCollection response, IList request ) : void |
Validates a response returned by the server.
|
|
ValidateResponse ( IList response, IList request ) : void |
Validates a response returned by the server.
|
Method | Description | |
---|---|---|
CloseChannel ( ) : void |
Closes the channel.
|
|
CreateAuditLogEntry ( IServiceRequest request ) : string |
Creates an audit log entry for the request.
|
|
Dispose ( bool disposing ) : void |
An overrideable version of the Dispose.
|
|
DisposeChannel ( ) : void | ||
RequestCompleted ( IServiceRequest request, IServiceResponse response, string serviceName ) : void |
Called when a request completes.
|
|
UpdateRequestHeader ( IServiceRequest request, bool useDefaults ) : void |
Updates the header of a service request.
|
|
UpdateRequestHeader ( IServiceRequest request, bool useDefaults, string serviceName ) : void |
Updates the header of a service request.
|
|
ValidateResponse ( ResponseHeader header ) : void |
Throws an exception if a response contains an error.
|
Method | Description | |
---|---|---|
UpdateRequestHeader ( IServiceRequest request ) : void |
public ClientBase ( ITransportChannel channel ) : System | ||
channel | ITransportChannel | The channel. |
return | System |
protected CreateAuditLogEntry ( IServiceRequest request ) : string | ||
request | IServiceRequest | The request. |
return | string |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public static GetResult ( Opc.Ua.StatusCode statusCode, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) : |
||
statusCode | Opc.Ua.StatusCode | The status code. |
index | int | The index. |
diagnosticInfos | DiagnosticInfoCollection | The diagnostic information. |
responseHeader | ResponseHeader | The response header. |
return |
protected RequestCompleted ( IServiceRequest request, IServiceResponse response, string serviceName ) : void | ||
request | IServiceRequest | The request. |
response | IServiceResponse | The response. |
serviceName | string | The name of the service. |
return | void |
protected UpdateRequestHeader ( IServiceRequest request, bool useDefaults ) : void | ||
request | IServiceRequest | The request. |
useDefaults | bool | if set to |
return | void |
protected UpdateRequestHeader ( IServiceRequest request, bool useDefaults, string serviceName ) : void | ||
request | IServiceRequest | The request. |
useDefaults | bool | if set to |
serviceName | string | The name of the service. |
return | void |
public static ValidateDataValue ( Opc.Ua.DataValue value, |
||
value | Opc.Ua.DataValue | The value. |
expectedType | The expected type. | |
index | int | The index. |
diagnosticInfos | DiagnosticInfoCollection | The diagnostic information. |
responseHeader | ResponseHeader | The response header. |
return |
public static ValidateDiagnosticInfos ( DiagnosticInfoCollection response, IList request ) : void | ||
response | DiagnosticInfoCollection | The response. |
request | IList | The request. |
return | void |
public static ValidateResponse ( IList response, IList request ) : void | ||
response | IList | The response. |
request | IList | The request. |
return | void |
protected static ValidateResponse ( ResponseHeader header ) : void | ||
header | ResponseHeader | The header. |
return | void |