Package VASSAL.chat

Class SoundEncoder

java.lang.Object
VASSAL.chat.SoundEncoder
All Implemented Interfaces:
CommandEncoder

public class SoundEncoder extends Object implements 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.