summaryrefslogtreecommitdiff
path: root/src/main/java/net/cshift/transit/network/packet/IDynamicPacket.java
blob: fca43e5b4d8a702df3778ec4c4faf79f2e62853a (plain)
1
2
3
4
5
6
7
8
9
10
11
package net.cshift.transit.network.packet;

/** Interface describing a packet where the data can change as it's transferred.
 * 
 * @param <D> The type parameter of the Type being transported
 * @author Kyle Gunger
 */
public interface IDynamicPacket<D> extends IStaticPacket<D>{
    /** Set the packet's data. */
    public void setData(Object dat);
}