| 128 | } |
| 129 | |
| 130 | void ClientImpl::init_proto(maajs::ObjectType proto, maajs::FunctionType) |
| 131 | { |
| 132 | MAA_BIND_FUNC(proto, "destroy", ClientImpl::destroy); |
| 133 | MAA_BIND_GETTER(proto, "identifier", ClientImpl::get_identifier); |
| 134 | MAA_BIND_FUNC(proto, "bind_resource", ClientImpl::bind_resource); |
| 135 | MAA_BIND_FUNC(proto, "register_resource_sink", ClientImpl::register_resource_sink); |
| 136 | MAA_BIND_FUNC(proto, "register_controller_sink", ClientImpl::register_controller_sink); |
| 137 | MAA_BIND_FUNC(proto, "register_tasker_sink", ClientImpl::register_tasker_sink); |
| 138 | MAA_BIND_FUNC(proto, "connect", ClientImpl::connect); |
| 139 | MAA_BIND_FUNC(proto, "disconnect", ClientImpl::disconnect); |
| 140 | MAA_BIND_GETTER(proto, "connected", ClientImpl::get_connected); |
| 141 | MAA_BIND_GETTER(proto, "alive", ClientImpl::get_alive); |
| 142 | MAA_BIND_SETTER(proto, "timeout", ClientImpl::set_timeout); |
| 143 | MAA_BIND_GETTER(proto, "custom_recognition_list", ClientImpl::get_custom_recognition_list); |
| 144 | MAA_BIND_GETTER(proto, "custom_action_list", ClientImpl::get_custom_action_list); |
| 145 | } |
| 146 | |
| 147 | maajs::ValueType load_client(maajs::EnvType env) |
| 148 | { |
nothing calls this directly
no outgoing calls
no test coverage detected