Modifier and Type | Method and Description |
---|---|
Status |
ServerStatus.getCurrentStatus()
getCurrentStatus: return the current status.
|
Status |
ServerStatus.getLastStatus()
getLastStatus: return the last global status.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerStatus.exchangeStatus(Status newStatus)
exchangeStatus: this method set the current status as last status, and the status passed
as parameter as the current status.
|
void |
ServerStatus.setCurrentStatus(Status currentStatus)
setCurrentStatus: set the current status.
|
void |
ServerStatus.setLastStatus(Status lastStatus)
setLastStatus: set the last global status.
|