Class CgiServerStatus
java.lang.Object
VASSAL.chat.CgiServerStatus
- All Implemented Interfaces:
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHistory(String timeRange) Return the current connections to the serverString[]
-
Field Details
-
LAST_DAY
- See Also:
-
LAST_WEEK
- See Also:
-
LAST_MONTH
- See Also:
-
-
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
-