Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L linux-epoll-java
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Departamento de Informática
  • Research
  • TaRDISTaRDIS
  • WP6WP6
  • external
  • linux-epoll-java
  • Wiki
  • Usage

Usage · Changes

Page history
jc.leitao updated page: Usage authored Jun 02, 2026 by Joao Leitao's avatar Joao Leitao
Hide whitespace changes
Inline Side-by-side
Usage.md
View page @ 5faa6a00
# Usage — Linux-Epoll
## Usage
## Requirements
Understand the [native API](http://man7.org/linux/man-pages/man7/epoll.7.html).
- Java 11 or later (Java 17 recommended for swarm/IoT variants)
- Apache Maven 3.6+
- Network access to the NOVA SYS Maven repository (if using pre-built artifacts)
Read the
[javadoc](https://javadoc.io/doc/io.helins/linux-epoll).
\ No newline at end of file
## Installation
_See the project README and pom.xml for build instructions._
## Configuration
_This project has no configuration parameters._
See the [Configuration](configuration) page for a complete parameter reference.
## Integration Example
```java
Properties props = new Properties();
try (InputStream in = new FileInputStream("config.properties")) {
props.load(in);
}
Host myself = new Host(InetAddress.getLocalHost(), Integer.parseInt(props.getProperty("port", "8000")));
Babel babel = Babel.getInstance();
babel.registerProtocol(new LinuxEpoll(props, myself));
babel.start(props);
```
## Running
```bash
# Build
mvn clean package -DskipTests
# Run (adjust main class and config path)
java -cp target/*.jar MainClass config.properties
```
## Further Reading
- [Babel Interface](babel-interface) — how to subscribe to this protocol's notifications
- [Configuration](configuration) — full parameter reference
---
## 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)
Clone repository
  • Babel Interface
  • Configuration
  • Home
  • Usage