le_framework_interface.h
Go to the documentation of this file.
53 //--------------------------------------------------------------------------------------------------57 //--------------------------------------------------------------------------------------------------60 //--------------------------------------------------------------------------------------------------63 * Connect the current client thread to the service providing this API. Block until the service is67 * called before any other functions in this API. Normally, ConnectService is automatically called72 //--------------------------------------------------------------------------------------------------78 //--------------------------------------------------------------------------------------------------81 * Try to connect the current client thread to the service providing this API. Return with an error85 * called before any other functions in this API. Normally, ConnectService is automatically called94 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).97 //--------------------------------------------------------------------------------------------------103 //--------------------------------------------------------------------------------------------------107 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants110 //--------------------------------------------------------------------------------------------------117 //--------------------------------------------------------------------------------------------------123 * longer a connection to the service, and the functions in this API can't be used. For details, see128 //--------------------------------------------------------------------------------------------------135 //--------------------------------------------------------------------------------------------------144 //--------------------------------------------------------------------------------------------------150 //--------------------------------------------------------------------------------------------------159 //--------------------------------------------------------------------------------------------------166 //--------------------------------------------------------------------------------------------------174 //--------------------------------------------------------------------------------------------------void le_framework_DisconnectService(void)le_result_t le_framework_Restart(bool manualRestart)le_result_t le_framework_TryConnectService(void)le_result_t le_framework_Stop(void)bool le_framework_IsStopping(void)void le_framework_ConnectService(void)void(* le_framework_DisconnectHandler_t)(void *)Definition: le_framework_interface.h:58void le_framework_SetServerDisconnectHandler(le_framework_DisconnectHandler_t disconnectHandler, void *contextPtr)