hex.steam.SteamMessageExchange Maven / Gradle / Ivy
The newest version!
package hex.steam;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import org.apache.log4j.Logger;
import java.io.IOException;
import java.lang.reflect.Type;
import java.util.*;
import static hex.steam.SteamMessenger.TYPE;
public class SteamMessageExchange implements SteamMessageSender {
private static final Logger LOG = Logger.getLogger(SteamMessageExchange.class);
private static final Type MAP_TYPE = new TypeToken