public interface SharedCountListener extends ConnectionStateListener
Modifier and Type | Method and Description |
---|---|
void |
countHasChanged(SharedCountReader sharedCount,
int newCount)
Called when the shared value has changed
|
stateChanged
void countHasChanged(SharedCountReader sharedCount, int newCount) throws java.lang.Exception
sharedCount
- the shared count instancenewCount
- the new countjava.lang.Exception
- errors