Package | Description |
---|---|
com.suse.salt.netapi.client | |
com.suse.salt.netapi.datatypes | |
com.suse.salt.netapi.event | |
com.suse.salt.netapi.parser |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<Token> |
SaltClient.login(java.lang.String username,
java.lang.String password,
AuthModule eauth)
Non-blocking version of login() returning a CompletionStage with the token.
|
Modifier and Type | Method and Description |
---|---|
WebSocketEventStream |
SaltClient.events(Token token,
long sessionIdleTimeout,
long idleTimeout,
int maxMsgSize,
EventListener... listeners)
Returns a WebSocket @ClientEndpoint annotated object connected
to the /ws ServerEndpoint.
|
Modifier and Type | Field and Description |
---|---|
private Xor<Token,PasswordAuth> |
AuthMethod.internal |
Modifier and Type | Method and Description |
---|---|
Xor<Token,PasswordAuth> |
AuthMethod.getInternal() |
Constructor and Description |
---|
AuthMethod(Token token) |
Modifier and Type | Method and Description |
---|---|
private void |
WebSocketEventStream.initializeStream(java.net.URI uri,
Token token,
long sessionIdleTimeout,
long idleTimeout)
Connect the WebSocket to the server pointing to /ws/{token} to receive events.
|
Constructor and Description |
---|
WebSocketEventStream(java.net.URI uri,
Token token,
long sessionIdleTimeout,
long idleTimeout,
int maxMsgSize,
EventListener... listeners)
Constructor used to create an event stream: open a websocket connection and start
event processing.
|
Modifier and Type | Field and Description |
---|---|
static JsonParser<Return<java.util.List<Token>>> |
JsonParser.TOKEN |