Expand description
§InvokeCommand
Invokes IPC methods for Wind service communication.
§RESPONSIBILITIES
§Method Invocation
- Accept method invocation requests from frontend
- Delegate to WindServiceHandlers for processing
- Return method execution results
- Handle method parameters validation
§ARCHITECTURAL ROLE
§Position in Mountain
- IPC wrapper command in Binary subsystem
- Bridge to Wind service handlers
§Dependencies
- crate::IPC::WindServiceHandlers: Method execution
- tauri: IPC framework
- serde_json: JSON serialization
§Dependents
- Wind frontend: Invokes methods via this command
- Tauri IPC handler: Routes invocation requests
§SECURITY
§Considerations
- Validate method names to prevent unauthorized access
- Sanitize method parameters before execution
- Restrict access to privileged methods
§PERFORMANCE
§Considerations
- Method execution varies by implementation
- Consider async for long-running operations
- Rate limiting may be needed for expensive operations
Functions§
- MountainIPC
Invoke - Invoke IPC methods.