# Package net.i2p.router.app

Interface and framework for applications managed by the I2P router via clients.config.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  RouterApp | If a class started via clients.config implements this interface, it will be used to manage the client, instead of starting with main() Clients implementing this interface MUST provide the following constructor: public MyClientApp(RouterContext context, ClientAppManager listener, String[] args) {...} All parameters are non-null.

## Package net.i2p.router.app Description

Interface and framework for applications managed by the I2P router via clients.config. Classes implementing the RouterApp interface are controlled through this interface rather than using main().

This package provides:

- RouterApp interface for managed applications
- Application lifecycle management (startup, shutdown)
- Integration with router context and services
- Inter-application communication capabilities

Benefits for clients using this interface:

- Access to current context via constructor
- Complete lifecycle management by router
- No need for static references
- Ability to discover and communicate with other clients