| Modifier and Type | Method and Description |
|---|---|
Client |
Client.onAuthentication(Consumer<Boolean> function)
Lambda function called when authentication is accepted or denied.
|
Client |
Client.onConnect(Consumer<String> function)
Lambda function called when a connection is successful.
|
Client |
Client.onDisconnect(Consumer<String> function)
Lambda function called when a connection is lost, or dropped.
|
Client |
Client.onMessage(BiConsumer<String,JobMessage> function)
Lambda function called when a message is received from a server.
|
Copyright © 2015. All rights reserved.