package net.transit.network.packet; import net.transit.type.Type; /** Interface describing an unchanging packet. * @author Kyle Gunger * * @param The data type (Object) that the packet transfers. */ public interface IStaticPacket { /**Get the packet's data. * * @return The packet's data */ public D getData(); /**Get the packet's type. * * @return IType<> The type of the packet */ public Type getType(); }