Developer API

Interacting with kerb.

Connecting to the Server

KerbClient client = new KerbClient(
    port,
    address,
    clientCertificate,
    serverCertificate,
    password,
    autoReconnect,
    reconnectCooldown,
    maxReconnectionAttempts
);
client.connect();

You can also create a connection factory:

KerbClientFactory factory = new KerbClientFactory(
    port,
    address,
    clientCertificate,
    serverCertificate,
    password,
    autoReconnect,
    reconnectCooldown,
    maxReconnectionAttempts
);

KerbClient client = factory.create();
client.connect();

Last updated