Package VASSAL.chat
Class SoundEncoder
java.lang.Object
VASSAL.chat.SoundEncoder
- All Implemented Interfaces:
CommandEncoder
Encodes commands that play sounds
This class is used exclusively by the 'Send wake-up' server feature.
Limit the number of wake-ups we will respond to in a row from the same player
before querying if we want to ignore them in future.
Wait at least 5 seconds before responding to a new wake-up.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
COMMAND_PREFIX
- See Also:
-
-
Constructor Details
-
SoundEncoder
-
-
Method Details
-
decode
Description copied from interface:CommandEncoder
Translate a String into aCommand
- Specified by:
decode
in interfaceCommandEncoder
-
encode
Description copied from interface:CommandEncoder
Translate aCommand
into a String- Specified by:
encode
in interfaceCommandEncoder
-