Monitor Types

Enumerations

enum  som_storemonitor { SOM_STORE_MONITOR_NONE, SOM_STORE_MONITOR_CONNECTIONS, SOM_STORE_MONITOR_MAILBOXES }
 

Functions

int SOMStoreMonitor (struct SOMSession *session, enum som_storemonitor type, void *ophandle, int async)
 Start monitoring store events. More...
 

Detailed Description

Enumeration Type Documentation

◆ som_storemonitor

The types of events in the Store which can be monitored

Enumerator
SOM_STORE_MONITOR_NONE 

Stop monitoring

SOM_STORE_MONITOR_CONNECTIONS 

Monitor connections

SOM_STORE_MONITOR_MAILBOXES 

Monitor mailboxes

Definition at line 502 of file store.h.

Function Documentation

◆ SOMStoreMonitor()

int SOMStoreMonitor ( struct SOMSession session,
enum som_storemonitor  type,
void *  ophandle,
int  async 
)

Start monitoring store events.

Parameters
session[in] Pointer to address of session object
type[in] Enumerated value indicating the monitor type
ophandle[in] Value passed to callback
async[in] Operation is asynchronous if TRUE
Returns
zero on success; non-zero on error
@ SOM_STORE_MONITOR_NONE
Definition: store.h:503
@ SOM_STORE_MONITOR_CONNECTIONS
Definition: store.h:504
@ SOM_STORE_MONITOR_MAILBOXES
Definition: store.h:505

All rights reserved © 2002 - 2024 Isode Ltd.