|
|
|
# Babel Interface — Visualization Protocol
|
|
|
|
|
|
|
|
This project does not expose a Babel protocol interface, or interface documentation is not yet available. |
|
|
|
## Overview
|
|
|
|
|
|
|
|
Visualization Protocol is a Babel protocol that integrates
|
|
|
|
with the [Babel framework](https://codelab.fct.unl.pt/di/research/tardis/wp6/babel/babel-core)
|
|
|
|
for distributed protocol development.
|
|
|
|
It extends `GenericProtocol`.
|
|
|
|
|
|
|
|
## Notifications Emitted
|
|
|
|
|
|
|
|
| — | — |
|
|
|
|
_None detected._
|
|
|
|
|
|
|
|
## Notifications Consumed
|
|
|
|
|
|
|
|
| — | — |
|
|
|
|
_None detected._
|
|
|
|
|
|
|
|
## Requests Handled
|
|
|
|
|
|
|
|
| — | — |
|
|
|
|
_None detected._
|
|
|
|
|
|
|
|
## Timers
|
|
|
|
|
|
|
|
| — | — |
|
|
|
|
_None detected._
|
|
|
|
|
|
|
|
## Channel Events
|
|
|
|
|
|
|
|
Standard Babel TCP channel events handled:
|
|
|
|
- `OutConnectionUp` — outgoing connection established
|
|
|
|
- `OutConnectionDown` — outgoing connection lost
|
|
|
|
- `OutConnectionFailed` — outgoing connection attempt failed
|
|
|
|
- `InConnectionUp` — incoming connection established
|
|
|
|
- `InConnectionDown` — incoming connection lost
|
|
|
|
|
|
|
|
## Subscribing to This Protocol
|
|
|
|
|
|
|
|
To receive notifications from `Visualization Protocol` in another Babel protocol:
|
|
|
|
|
|
|
|
```java
|
|
|
|
// In your protocol's init() method:
|
|
|
|
subscribeNotification(SomeNotification.ID,
|
|
|
|
this::uponSomeNotification);
|
|
|
|
|
|
|
|
// Handler method:
|
|
|
|
private void uponSomeNotification(
|
|
|
|
SomeNotification notif, short emitterId) {
|
|
|
|
// handle notification
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## 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) |