C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
PubSubBase::PubSubNetworkBackendUser Class Reference

Base class for a PubSub user network backend implementation. More...

#include <pubsubnetworkbackenduser.h>

Inherits PubSubBase::PubSubNetworkBackendInterfaceSdk.

Public Member Functions

virtual void finishReceive (int status, pubsub_backend_context *rx)
 Finish receive of a network message for a PubSubConnection. More...
 
- Public Member Functions inherited from PubSubBase::PubSubNetworkBackendInterfaceSdk
virtual int startUp ()=0
 Start up the network backend.
 
virtual int shutDown ()=0
 Shut down the network backend.
 
virtual int initSend (WriterGroup *pWriterGroup, pubsub_backend_context *ctx)=0
 Initializes the send context for a WriterGroup. More...
 
virtual int initReceive (PubSubConnection *pConnection, pubsub_backend_context *ctx)=0
 Initializes the receive context for a PubSubConnection. More...
 
virtual int clear (pubsub_backend_context *ctx)=0
 Clear resources for the context. More...
 
virtual int alloc (pubsub_backend_context *ctx)=0
 Allocate the buffer if the buffer is managed by the backend and reused. More...
 
virtual int free (pubsub_backend_context *ctx)=0
 Allocate the buffer if the buffer is managed by the backend and reused. More...
 
virtual int send (pubsub_backend_context *tx, unsigned int size)=0
 Send a network message for a WriterGroup. More...
 
virtual void beginReceive (pubsub_backend_context *rx)=0
 Begin receive of a network message for a PubSubConnection. More...
 

Additional Inherited Members

- Public Types inherited from PubSubBase::PubSubNetworkBackendInterface
enum  PubSubNetworkBackendInterfaceType
 PubSub transport facet reflecting the defined TransportProfileUris.
 

Detailed Description

Base class for a PubSub user network backend implementation.

Member Function Documentation

void PubSubBase::PubSubNetworkBackendUser::finishReceive ( int  status,
pubsub_backend_context *  rx 
)
virtual

Finish receive of a network message for a PubSubConnection.

Typically the finishReceive() is called by the backend as result of a beginReceive call.

It is allowed to call finishReceive() without waiting for beginReceive as long as beginReceive was called once for the PubSubConnection and clear was not called yet for the PubSubConnection.

Parameters
[in]statusStatus of the receive
[in]rxThe receive context for the PubSubConnection.

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