public class InteractivePacketAdapter extends Object implements com.google.gson.JsonDeserializer<InteractivePacket>
InteractivePackets
into their appropriate subclasses.MethodPacket
,
ReplyPacket
Constructor and Description |
---|
InteractivePacketAdapter() |
Modifier and Type | Method and Description |
---|---|
InteractivePacket |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
public InteractivePacket deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
deserialize
in interface com.google.gson.JsonDeserializer<InteractivePacket>
Copyright © 2018. All rights reserved.