Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```xml

kenzie
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 memory

There 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.