UA Ansi C Server Professional  1.3.1.232
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
UaServerPublish

Data Structures

struct  _UaServer_PublishContext
 Holds all data to handle the PublishRequest. More...
struct  _UaServer_RepublishContext
 Holds all data to handle the RepublishRequest. More...

Functions

OpcUa_Void UaServer_PublishContext_Delete (UaServer_PublishContext **a_ppPublishContext)
 Delete the publish context.
OpcUa_StatusCode UaServer_PublishContext_Create (UaServer_PublishContext **a_ppPublishContext)
 Create a new publish context.
OpcUa_Void UaServer_RepublishContext_Delete (UaServer_RepublishContext **a_ppRepublishContext)
 Delete the republish context.
OpcUa_StatusCode UaServer_RepublishContext_Create (UaServer_RepublishContext **a_ppRepublishContext)
 Create a new republish context.
OpcUa_StatusCode UaServer_EndPublish (OpcUa_StatusCode a_uStatusCode, UaServer_PublishContext *a_pPublishContext)
 Ends to publish the context.
OpcUa_StatusCode UaServer_EndRepublish (OpcUa_StatusCode a_uStatusCode, UaServer_RepublishContext *a_pRepublishContext)
 Ends to republish the context.
OpcUa_StatusCode UaServer_Publish (UaServer_PublishContext *a_pPublishContext, UaServer_Subscription *a_pSubscription)
 Gets called only by the subscriptionmanager, if it determines that it is time to publish.
OpcUa_StatusCode UaServer_QueuePublish (UaServer_PublishContext *a_pPublishContext)
 Queues up the publish.
OpcUa_StatusCode UaServer_DequeuePublish (UaServer_Session *a_pSession, UaServer_PublishContext **a_ppPublishContext)
 dequeues the publish.
OpcUa_StatusCode UaServer_DeleteAllPublish (UaServer_Session *a_pSession)
 Deletes all publishes with error code OpcUa_BadSessionClosed.
OpcUa_StatusCode UaServer_AbortAllPublish (UaServer_Session *a_pSession)
 Aborts all publishes with error code OpcUa_BadNoSubscription.
OpcUa_StatusCode UaServer_BeginPublish (OpcUa_Endpoint a_hEndpoint, OpcUa_Handle a_hContext, OpcUa_Void **a_ppRequest, OpcUa_EncodeableType *a_pRequestType)
 Starts to publish.
OpcUa_StatusCode UaServer_BeginRepublish (OpcUa_Endpoint a_hEndpoint, OpcUa_Handle a_hContext, OpcUa_Void **a_ppRequest, OpcUa_EncodeableType *a_pRequestType)
 Republish.

Detailed Description

Function Documentation

OpcUa_StatusCode UaServer_AbortAllPublish ( UaServer_Session *  a_pSession)

Aborts all publishes with error code OpcUa_BadNoSubscription.

Parameters
a_pSessiona pointer to the actual session.
Returns
the OPC UA Status code.
OpcUa_StatusCode UaServer_BeginPublish ( OpcUa_Endpoint  a_hEndpoint,
OpcUa_Handle  a_hContext,
OpcUa_Void **  a_ppRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

Starts to publish.

Parameters
a_hEndpointhandle to the endpoint.
a_hContextGeneral context containing information like the session object.
a_ppRequestthe request of the current send information.
a_pRequestType[in] The type of request.
Returns
the OPC UA Status code.
OpcUa_StatusCode UaServer_BeginRepublish ( OpcUa_Endpoint  a_hEndpoint,
OpcUa_Handle  a_hContext,
OpcUa_Void **  a_ppRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

Republish.

Parameters
a_hEndpointhandle to the endpoint.
a_hContextGeneral context containing information like the session object.
a_ppRequestthe request of the current send information.
a_pRequestType[in] The type of request.
Returns
the OPC UA Status code.
OpcUa_StatusCode UaServer_DeleteAllPublish ( UaServer_Session *  a_pSession)

Deletes all publishes with error code OpcUa_BadSessionClosed.

Parameters
a_pSessiona pointer to the actual session.
Returns
the OPC UA Status code.
OpcUa_StatusCode UaServer_DequeuePublish ( UaServer_Session *  a_pSession,
UaServer_PublishContext **  a_ppPublishContext 
)

dequeues the publish.

Parameters
a_pSessiona pointer to the actual session.
a_ppPublishContexta pointer to the information of the PublishContext.
Returns
the OPC UA Status code.
OpcUa_StatusCode UaServer_EndPublish ( OpcUa_StatusCode  a_uStatusCode,
UaServer_PublishContext a_pPublishContext 
)

Ends to publish the context.

Parameters
a_uStatusCodeError code.
a_pPublishContexta pointer to the information of the PublishContext.
Returns
the OPC UA Status code.
OpcUa_StatusCode UaServer_EndRepublish ( OpcUa_StatusCode  a_uStatusCode,
UaServer_RepublishContext a_pRepublishContext 
)

Ends to republish the context.

Parameters
a_uStatusCodeError code.
a_pRepublishContexta pointer to the information of the RepublishContext.
Returns
the OPC UA Status code.
OpcUa_StatusCode UaServer_Publish ( UaServer_PublishContext a_pPublishContext,
UaServer_Subscription a_pSubscription 
)

Gets called only by the subscriptionmanager, if it determines that it is time to publish.

Parameters
a_pPublishContexta pointer to the information of the PublishContext.
a_pSubscriptiona pointer to the subscription structure.
Returns
the OPC UA Status code.
OpcUa_StatusCode UaServer_PublishContext_Create ( UaServer_PublishContext **  a_ppPublishContext)

Create a new publish context.

Parameters
a_ppPublishContexta pointer to the information of the PublishContext.
Returns
the OPC UA Status code.
OpcUa_Void UaServer_PublishContext_Delete ( UaServer_PublishContext **  a_ppPublishContext)

Delete the publish context.

Parameters
a_ppPublishContexta pointer to the information of the PublishContext.
OpcUa_StatusCode UaServer_QueuePublish ( UaServer_PublishContext a_pPublishContext)

Queues up the publish.

Parameters
a_pPublishContexta pointer to the information of the PublishContext.
Returns
the OPC UA Status code.
OpcUa_StatusCode UaServer_RepublishContext_Create ( UaServer_RepublishContext **  a_ppRepublishContext)

Create a new republish context.

Parameters
a_ppRepublishContexta pointer to the information of the RepublishContext.
Returns
the OPC UA Status code.
OpcUa_Void UaServer_RepublishContext_Delete ( UaServer_RepublishContext **  a_ppRepublishContext)

Delete the republish context.

Parameters
a_ppRepublishContexta pointer to the information of the RepublishContext.