GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - aethernetio/client-java: Æthernet Java SDK for end-to-end encrypted, real-time messaging between devices, applications and backend services

BranchesTags
Open more actions menu

Latest commit

 

History

249 Commits
249 Commits

Folders and files

NameName
Last commit message
Last commit date
chat
chat
 
 
cli
cli
 
 
client
client
 
 
echo
echo
 
 
launcher
launcher
 
 
pointToPoint
pointToPoint
 
 
smarthome-plain
smarthome-plain
 
 
smarthome
smarthome
 
 
smarthub
smarthub
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
aiedit_context.yaml
aiedit_context.yaml
 
 
build.gradle
build.gradle
 
 
protocol.html
protocol.html
 
 
settings.gradle
settings.gradle
 
 
version
version
 
 

Repository files navigation

Æthernet Java SDK

The Æthernet Java SDK provides secure asynchronous messaging between applications, devices, and backend services through the Æthernet network.

It handles registration, end-to-end encryption, connection recovery, binary serialization, request batching, device-to-device messaging, and access-control operations.

Documentation · Examples

Requirements

  • Gradle;
  • JDK 11 or newer when using the Sodium JNI provider;
  • JDK 22 or newer for the Hydrogen FFM provider, or JDK 21 with the required preview configuration.

Installation

Packages are currently served from the Æthernet Maven repository:

repositories {
    mavenCentral()
    maven {
        url = uri("https://nexus.aethernet.io/maven/releases/")
    }
}

dependencies {
    implementation("io.aether:cloud-client:+")
    implementation("io.aether.crypto:sodium:+")
}

Use hydrogen-fast instead of sodium when your JDK and deployment support the Foreign Function & Memory API:

implementation("io.aether.crypto:hydrogen-fast:+")

For reproducible production builds, replace + with a tested version.

Core API

  • AetherCloudClient: client lifecycle, network operations, and messaging;
  • ClientStateInMemory: identity and server state, optionally persisted to a file;
  • AFuture and ARFuture<T>: asynchronous completion and results;
  • sendMessage and onMessage: peer-to-peer message delivery;
  • access-group APIs: create groups and check permissions.

Minimal lifecycle

ClientStateInMemory state = new ClientStateInMemory(
    StandardUUIDs.TEST_UID,
    List.of(URI.create("tcp://registration.aethernet.io:9010")),
    null,
    CryptoLib.SODIUM
);

AetherCloudClient client = new AetherCloudClient(state, "example-client");

try {
    client.connect();
    client.startFuture.join();
    System.out.println("Client UID: " + client.getUid());
} finally {
    client.destroy(true);
}

Use a project-specific parent UUID and persistent state outside development examples.

Build and test

git clone https://github.com/aethernetio/client-java.git
cd client-java
./gradlew build

On Windows:

.\gradlew.bat build

The repository also contains point-to-point, CLI, chat, smart-home, and echo projects.

Maturity and security

The package coordinates and repository layout may change before a stable public release. Report security-sensitive issues privately rather than including keys, credentials, or production identifiers in a public issue.

License

See LICENSE.

About

Æthernet Java SDK for end-to-end encrypted, real-time messaging between devices, applications and backend services

aethernet.io/tutorial.html#java

Topics

access-controlaethernetasynchronousbinary-protocolcloud-connectivitydevice-to-deviceend-to-end-encryptiongradleiotiot-platformiot-sdkjavajava-libraryjava-sdkmavenpeer-to-peerreal-time-communicationrpcsecure-messagingself-provisioning

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.