Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moderocky/jupiter
A library for working with common Input/Output routes and providing better utilities for Java's I/O streams.
https://github.com/moderocky/jupiter
input-output io java java-io socket-io streams
Last synced: 27 days ago
JSON representation
A library for working with common Input/Output routes and providing better utilities for Java's I/O streams.
- Host: GitHub
- URL: https://github.com/moderocky/jupiter
- Owner: Moderocky
- Created: 2022-01-15T08:39:00.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-31T11:53:14.000Z (over 2 years ago)
- Last Synced: 2023-03-04T00:19:54.343Z (over 1 year ago)
- Topics: input-output, io, java, java-io, socket-io, streams
- Language: Java
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Jupiter
=====### Opus #15
A library for working with common Input/Output routes and providing better utilities for Java's I/O streams.
## Maven Information
```xmlkenzie
Kenzie's Repository
https://repo.kenzie.mx/releases```
```xml
mx.kenzie
jupiter
1.0.2```
## Description
Jupiter provides a set of utilities for working with streams and channels, to make integrating them easier and to reduce the amount of necessary boilerplate for common tasks.
These utilities include:
1. Synchronization locks for streams (where multithreaded access would normally be dangerous)
2. Stream controllers that can perform simple conversion tasks
3. Forking, locking and wrapping streams with automatic resource disposal
4. Lazy iteration of stream data to avoid messy while-loops
5. Stream data directly in and out of heap memoryThere are also more advanced utilities for handling complex socket connections.
The `SocketPair` provides a smart two-way socket channel between two known addresses with automatic host/guest deference.
The `SocketHub` provides a fluid-size socket network connection for organising channels between an unknown set of guests.