|
|
|
# Configuration Reference — Visualization Protocol
|
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
|
|
|
Configuration is passed as a `java.util.Properties` object to the protocol constructor.
|
|
|
|
Properties can be loaded from a `.properties` file or set programmatically.
|
|
|
|
|
|
|
|
## Parameter Reference
|
|
|
|
|
|
|
|
## Configuration Parameters
|
|
|
|
|
|
|
|
- Visualization.id - ID for the graph
|
|
|
|
- Visualization.address - Address of the visualization tool
|
|
|
|
- Visualization.port - Port of the visualization tool |
|
|
\ No newline at end of file |
|
|
|
- Visualization.port - Port of the visualization tool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Passing Configuration
|
|
|
|
|
|
|
|
```java
|
|
|
|
// From a file
|
|
|
|
Properties props = new Properties();
|
|
|
|
props.load(new FileInputStream("config.properties"));
|
|
|
|
|
|
|
|
// Or programmatically
|
|
|
|
Properties props = new Properties();
|
|
|
|
props.setProperty("param.key", "value");
|
|
|
|
|
|
|
|
// Pass to constructor
|
|
|
|
MyProtocol proto = new MyProtocol(props, myHost);
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
This project is licensed under the [MIT License](LICENSE) — see the `LICENSE` file
|
|
|
|
in the repository for the full text.
|
|
|
|
|
|
|
|
Copyright © 2021–2026 [Computer Systems Group, NOVA LINCS](https://novasys.di.fct.unl.pt/)
|
|
|
|
at [FCT-UNL](https://www.fct.unl.pt/).
|
|
|
|
Developed in the context of the [TaRDIS](https://project-tardis.eu/) European Project
|
|
|
|
(EU Horizon 2020, Grant Agreement No. 101016175).
|
|
|
|
Also see: [NOVA LINCS](https://nova-lincs.di.fct.unl.pt/) |
|
|
|
|
[TaRDIS on CORDIS](https://cordis.europa.eu/project/id/101016175) |