Titan client implementation for Java. Also works on Android. Depends on Neptulon Java client. Requirements and dependencies for Neptulon Java client is listed on its own repo.
Client client = new ClientImp("ws://127.0.0.1:3000");
client.connect(new ConnCallback() { ... });
client.jwtAuth(JWT_TOKEN, new JwtAuthCallback() {
@Override
public void success() {
System.out.println("JWT auth done");
}
@Override
public void fail() {
System.out.println("JWT auth failed");
}
});
// now you can use `client.sendMessages(...)`./gradlew buildStart a Titan server at local address: 127.0.0.1:3001 and then:
./gradlew check