import java.io.Serializable; public class SPONPacket implements Serializable { public int MSGTYPE = 0; // what type of message this is public String payloadType; // what type of Object is being delivered public Object payload; // Object being delivered. public SPONPacket() {} }