The Server uses information management functions to complete the adapter implementation process.
API | Description |
---|---|
void* createAdapter(); | This is the first call the Server makes when creating an adapter. The function returns a unique handle that the Server uses to make subsquent calls to the adapter. |
void setCallBackReference(void*adapter,void* connectionCallBackReference); | The Server calls this API to give the adapter implementation a unique handle that corresponds to the connectionCallBack object on the Server side. Use this handle as a parameter when making callbacks to the Server. |
void setConnectionRowType(void* adapter,void* connectionRowType); | The Server calls this API to provide the adapter implementation with information related to schema. |
void setConnectionParams(void* adapter, void* connectionParams); | The Server calls this API to provide the adapter implementation with information related to connection parameters. |