Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » MobiLink - Server-Initiated Synchronization » Setting up server-initiated synchronization » Light weight pollers

 

Light weight polling API

The light weight polling API is a programming interface that you can integrate into your device application. It contains the methods needed to poll a server.

Required files

All directories are relative to install-dir. The following is a list of files required to compile the light weight polling API:

File name or location Description

SDK\Lib\x86\mllplib.lib

Light weight polling API runtime library.

SDK\Include\mllplib.h

Light weight polling API header file.

A SIS_CarDealer_LP2 sample application written in C is supplied in samples-dir\MobiLink\SIS_CarDealer_LP2. For more information about the samples-dir, see Samples directory.

API methods
Method Description

MLLightPoller class

Represents a light weight poller object.

MLLPCreatePoller method

Creates an instance of an MLLightPoller.

MLLPDestroyPoller method

Destroys an instance of an MLLightPoller.


MLLightPoller class
MLLPCreatePoller method
MLLPDestroyPoller method