Tani OpcPipe protocol  1.0.5
Tani OpcPipe protocol
Macros
values for OPCPIPE_ITEM::Flags and OPCPIPE_TOPIC::Flags and HANDLE_PAIR::Flags

Macros

#define TUFLAG_ITEM_ACTIVATED   0x0001
 Server/Client: Item is activated.
 
#define TUFLAG_NEED_SEND_CREATE   0x0002
 Server: app has called create item data, but not sent. More...
 
#define TUFLAG_NEED_SEND_ACTIVATE   0x0004
 Server: must call activate after create returns, required for recursive create calls. More...
 
#define TUFLAG_NEED_SEND_DELETE   0x0008
 Server: create item failed, must call delete after leaving create call (item->Quality contains the create error) More...
 
#define TUFLAG_NEED_SEND   0x0010
 Server: app has called Send Item Data but not sent. More...
 
#define TUFLAG_ITEM_DEAD   0x0020
 Server/Client: app has deleted Topic/Item, do not give data but remove element if last reference is gone.
 
#define TUFLAG_CREATE_RUNS   0x0040
 Server: item create runs, used to catch recursive confirm.
 
#define TUFLAG_NEED_SYNCREAD   0x0040
 Client: app has called Sync Read Item but not sent.
 
#define TUFLAG_NOT_CREATED   0x0080
 Server: don't have createitemdata yet. More...
 
#define TUFLAG_USED   0x0100
 Server/Client: structure is in use.
 
#define TUFLAG_RECREATE   0x0800
 Client: set if this item was created and must be recreated after connection failure. More...
 
#define TUFLAG_VALUE_CACHE_VALID   0x1000
 Server: old/new compare cache valid.
 
#define TUFLAG_NEED_SEND_CREATE_LATER   0x1000
 Client: must set the TUFLAG_NEED_SEND_CREATE bit again after timeout.
 

Detailed Description

Macro Definition Documentation

◆ TUFLAG_NEED_SEND

#define TUFLAG_NEED_SEND   0x0010

Server: app has called Send Item Data but not sent.

Client: app has called something for any Item in a Topic but not sent

◆ TUFLAG_NEED_SEND_ACTIVATE

#define TUFLAG_NEED_SEND_ACTIVATE   0x0004

Server: must call activate after create returns, required for recursive create calls.

Client: app has called Activate/Deactivate Item but not sent

◆ TUFLAG_NEED_SEND_CREATE

#define TUFLAG_NEED_SEND_CREATE   0x0002

Server: app has called create item data, but not sent.

Client: app has called Create Topic/Item but not sent

◆ TUFLAG_NEED_SEND_DELETE

#define TUFLAG_NEED_SEND_DELETE   0x0008

Server: create item failed, must call delete after leaving create call (item->Quality contains the create error)

Client: app has called Delete Topic/Item but not sent; if set together with TUFLAG_NEED_SEND_CREATE, it means: send first delete, then create

◆ TUFLAG_NOT_CREATED

#define TUFLAG_NOT_CREATED   0x0080

Server: don't have createitemdata yet.

Client: topic/item not created on remote side

◆ TUFLAG_RECREATE

#define TUFLAG_RECREATE   0x0800

Client: set if this item was created and must be recreated after connection failure.

Server: recreate after delete, another thread wants it