summaryrefslogtreecommitdiff
path: root/src/main/java/net/transit/packet/StaticPacket.java
blob: fb11dd75b35ec8e32034fbbdefffbedd66964544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package net.transit.packet;

public class StaticPacket<D> implements IPacket<D>
{
    private D data;

    public StaticPacket(D dat)
    {
        data = dat;
    }

    public D getData()
    {
        return data;
    }
}