OpenDOF Project
Data Fields
DOSContext Struct Reference

DOS Context Structure. More...

Data Fields

DOSAddress Address
 On receive, the source address of the packet.
 
DOSAlias Alias
 The Alias to use, representing the binding information for a request operation.
 
DOSBinding Binding
 When the Alias is 0, this contains the binding information for a request operation.
 
uint16 Flags
 This field holds the defined DOSCONTEXT_FLAG_* bits.
 
struct DOSContextInternal internalContext
 This will hold internal context fields do not use!
 
DOSItemID ItemID
 Inside Provider callbacks, this is the Item ID associated with the request, where applicable.
 
uint16 LosslessLinkCount
 The count of links to the Provider over a lossless transport.
 
uint16 LossyLinkCount
 The count of links to the Provider over a lossy transport.
 
DOSOAPSession * OAPSession
 This holds the active OAPSession if there is one.
 
DOSOperation Operation
 This holds the reference to the associated operation, or NULL if there is no operation.
 
DOSObjectID ProviderID
 When a response is received to an OAP multicast/broadcast operation, this will contains the responding Provider's Object ID.
 
uint8RecvBuffer
 The receive buffer, containing data received by the transport.
 
DOSBufferSize RecvBufferSize
 The size of the received data in RecvBuffer.
 
uint8SendBuffer
 The send data buffer.
 
DOSBufferSize SendBufferSize
 The size of the send data buffer.
 
uint16 Sequence
 Contains the sequence number for received event notifications and subscription updates.
 
DOSDPSSession * Session
 The configuration and state related to the session.
 
DOSObjectID SourceID
 When an operation is received, this will be set to the Source ID, if known.
 

Detailed Description

DOS Context Structure.

This structure contains common/shared data that is needed internally, as well as by the application. The fields in this structure, and the data to which they point, must not change after calling DOS_Init().

core-c-cos Version 7.0.1 Build 0
2018-02-08