| Package | Description |
|---|---|
| io.atomix.copycat.session |
Classes and interfaces for managing client sessions.
|
| Modifier and Type | Method and Description |
|---|---|
Session.State |
Session.state()
Returns the current session state.
|
static Session.State |
Session.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Session.State[] |
Session.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Listener<Session.State> |
Session.onStateChange(Consumer<Session.State> callback)
Registers a callback to be called when the session state changes.
|
| Modifier and Type | Method and Description |
|---|---|
Listener<Session.State> |
Session.onStateChange(Consumer<Session.State> callback)
Registers a callback to be called when the session state changes.
|
Copyright © 2013–2016. All rights reserved.