UaServerWrite


Typedefs

typedef
typedefOPCUA_BEGIN_EXTERN_C
struct _UaServer_WriteContext 
UaServer_WriteContext
 Holds all data to handle the WriteRequest.

Functions

OpcUa_StatusCode UaServer_WriteContext_Create (UaServer_WriteContext **a_ppWriteContext)
 Create a new Writecontext.
OpcUa_Void UaServer_WriteContext_Delete (UaServer_WriteContext **a_ppWriteContext)
 Delete the actual Writecontext.
OpcUa_StatusCode UaServer_EndWrite (OpcUa_StatusCode a_uStatusCode, UaServer_WriteContext *a_pWriteContext)
 End writting.
IFMETHODIMP() UaServer_Providers_WriteComplete (UaServer_ProviderWriteContext *a_pWriteContext)
 Indicates if the write routine is complete.
OpcUa_StatusCode UaServer_Write (UaServer_WriteContext *a_pWriteContext)
 Starts a write routine.
OpcUa_StatusCode UaServer_BeginWrite (OpcUa_Endpoint a_hEndpoint, OpcUa_Handle a_hContext, OpcUa_Void **a_ppRequest, OpcUa_EncodeableType *a_pRequestType)
 Beginns to write.
OpcUa_Boolean UaServer_AttributeWriteable (OpcUa_UInt32 a_WriteMask, OpcUa_UInt32 a_AttributeId)
 checks if attribute is writeable
OpcUa_StatusCode UaServer_Write_Internal (OpcUa_BaseNode *a_pNode, UaServer_WriteContext *a_pWriteContext, OpcUa_Int32 a_iNodeIndex)
 This function allowes the internal write.

Typedef Documentation

typedef typedefOPCUA_BEGIN_EXTERN_C struct _UaServer_WriteContext UaServer_WriteContext

Holds all data to handle the WriteRequest.


Function Documentation

OpcUa_Boolean UaServer_AttributeWriteable ( OpcUa_UInt32  a_WriteMask,
OpcUa_UInt32  a_AttributeId 
)

checks if attribute is writeable

Parameters:
@param 
Returns:
.

OpcUa_StatusCode UaServer_BeginWrite ( OpcUa_Endpoint  a_hEndpoint,
OpcUa_Handle  a_hContext,
OpcUa_Void **  a_ppRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

Beginns to write.

Parameters:
a_hEndpoint handle to the endpoint.
a_hContext General context containing information like the session object.
a_ppRequest the request of the current send information.
a_pRequestType [in] The type of request.
Returns:
the OPC UA Status code.

OpcUa_StatusCode UaServer_EndWrite ( OpcUa_StatusCode  a_uStatusCode,
UaServer_WriteContext a_pWriteContext 
)

End writting.

Parameters:
a_uStatusCode Error code.
a_pWriteContext a pointer to the WriteContext.
Returns:
the OPC UA Status code.

IFMETHODIMP() UaServer_Providers_WriteComplete ( UaServer_ProviderWriteContext a_pWriteContext  ) 

Indicates if the write routine is complete.

Parameters:
a_pWriteContext a pointer to the WriteContext.
Returns:
only good if successful.

OpcUa_StatusCode UaServer_Write ( UaServer_WriteContext a_pWriteContext  ) 

Starts a write routine.

Parameters:
a_pWriteContext a pointer to the WriteContext.
Returns:
the OPC UA Status code.

OpcUa_StatusCode UaServer_Write_Internal ( OpcUa_BaseNode *  a_pNode,
UaServer_WriteContext a_pWriteContext,
OpcUa_Int32  a_iNodeIndex 
)

This function allowes the internal write.

Parameters:
@param 
Returns:
the OPC UA Status code.

OpcUa_StatusCode UaServer_WriteContext_Create ( UaServer_WriteContext **  a_ppWriteContext  ) 

Create a new Writecontext.

Parameters:
a_ppWriteContext a pointer to the WriteContext.
Returns:
the OPC UA Status code.

OpcUa_Void UaServer_WriteContext_Delete ( UaServer_WriteContext **  a_ppWriteContext  ) 

Delete the actual Writecontext.

Parameters:
a_ppWriteContext a pointer to the WriteContext.