- decrementActiveClients
- hasActiveClients
Check if we still have any active client
- incrementActiveClients
Increment active number of clients that use current state instance.
- isStopped
- stopClient
Move the client to STOPPED, unless it is already in PREPARE.
- closeClient
Move the client to STOPPED as part of closing the current client, regardless of
what state it is cur
- prepare
Move the client to the PREPARE state, unless it is already STOPPED.
- reset
Reset state to initial state disregard any current state or number of active
clients
- <init>
- getActiveClients
- isPrepare
- stateWithNewStatus