le_framework_interface.h
Go to the documentation of this file.
54 //--------------------------------------------------------------------------------------------------58 //--------------------------------------------------------------------------------------------------61 //--------------------------------------------------------------------------------------------------64 * Connect the current client thread to the service providing this API. Block until the service is68 * called before any other functions in this API. Normally, ConnectService is automatically called73 //--------------------------------------------------------------------------------------------------79 //--------------------------------------------------------------------------------------------------82 * Try to connect the current client thread to the service providing this API. Return with an error86 * called before any other functions in this API. Normally, ConnectService is automatically called95 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).98 //--------------------------------------------------------------------------------------------------104 //--------------------------------------------------------------------------------------------------108 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants111 //--------------------------------------------------------------------------------------------------118 //--------------------------------------------------------------------------------------------------124 * longer a connection to the service, and the functions in this API can't be used. For details, see129 //--------------------------------------------------------------------------------------------------136 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------151 //--------------------------------------------------------------------------------------------------160 //--------------------------------------------------------------------------------------------------167 //--------------------------------------------------------------------------------------------------175 //--------------------------------------------------------------------------------------------------181 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------200 //--------------------------------------------------------------------------------------------------void le_framework_DisconnectService(void)le_result_t le_framework_Restart(bool manualRestart)void le_framework_NotifyExpectedReboot(void)le_result_t le_framework_TryConnectService(void)le_result_t le_framework_Stop(void)bool le_framework_IsStopping(void)bool le_framework_IsReadOnly(void)void le_framework_ConnectService(void)LE_FULL_API void le_framework_SetServerDisconnectHandler(le_framework_DisconnectHandler_t disconnectHandler, void *contextPtr)void(* le_framework_DisconnectHandler_t)(void *)Definition: le_framework_interface.h:59