Struct fluence_app_service::AppService [−][src]
pub struct AppService { /* fields omitted */ }
Implementations
Create Service with given modules and service id.
pub fn call<S: AsRef<str>>(
&mut self,
func_name: S,
arguments: JValue,
call_parameters: CallParameters
) -> Result<JValue, AppServiceError>
pub fn call<S: AsRef<str>>(
&mut self,
func_name: S,
arguments: JValue,
call_parameters: CallParameters
) -> Result<JValue, AppServiceError>
Call a specified function of loaded module by its name with arguments in json format.
pub fn call_with_ivalues<S: AsRef<str>>(
&mut self,
func_name: S,
arguments: &[IValue],
call_parameters: CallParameters
) -> Result<Vec<IValue>, AppServiceError>
pub fn call_with_ivalues<S: AsRef<str>>(
&mut self,
func_name: S,
arguments: &[IValue],
call_parameters: CallParameters
) -> Result<Vec<IValue>, AppServiceError>
Call a specified function of loaded module by its name with arguments in IValue format.
Return interface (function signatures and record types) of this service.