Package VASSAL.chat
Class CgiServerStatus
java.lang.Object
VASSAL.chat.CgiServerStatus
- All Implemented Interfaces:
ServerStatus
public class CgiServerStatus extends Object implements ServerStatus
Queries a known URL to get historical status of the chat room server.
- Author:
- rkinney
-
Nested Class Summary
Nested classes/interfaces inherited from interface VASSAL.chat.ServerStatus
ServerStatus.ModuleSummary -
Field Summary
-
Constructor Summary
Constructors Constructor Description CgiServerStatus() -
Method Summary
Modifier and Type Method Description ServerStatus.ModuleSummary[]getHistory(String timeRange)ServerStatus.ModuleSummary[]getStatus()Return the current connections to the serverString[]getSupportedTimeRanges()
-
Field Details
-
LAST_DAY
- See Also:
- Constant Field Values
-
LAST_WEEK
- See Also:
- Constant Field Values
-
LAST_MONTH
- See Also:
- Constant Field Values
-
-
Constructor Details
-
CgiServerStatus
public CgiServerStatus()
-
-
Method Details
-
getStatus
Description copied from interface:ServerStatusReturn the current connections to the server- Specified by:
getStatusin interfaceServerStatus
-
getHistory
- Specified by:
getHistoryin interfaceServerStatus- Returns:
- the connections to the server within
timemilliseconds of the current time
-
getSupportedTimeRanges
- Specified by:
getSupportedTimeRangesin interfaceServerStatus
-