summaryrefslogtreecommitdiff
path: root/src/main/java/net/transit/packet/StaticPacket.java
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2019-11-19 11:40:07 -0500
committerKyle Gunger <kgunger12@gmail.com>2019-11-19 11:40:07 -0500
commitebc33c58c8a3669822a0dba99cbfe8a451782813 (patch)
tree88e85586911af572bd21c01e98ad16a2c2cc4591 /src/main/java/net/transit/packet/StaticPacket.java
parent42545b542a1814e66c257e77f5b566b65d48ccfd (diff)
[Update] Publish changes to 0.0.3
Diffstat (limited to 'src/main/java/net/transit/packet/StaticPacket.java')
-rw-r--r--src/main/java/net/transit/packet/StaticPacket.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/net/transit/packet/StaticPacket.java b/src/main/java/net/transit/packet/StaticPacket.java
new file mode 100644
index 0000000..fb11dd7
--- /dev/null
+++ b/src/main/java/net/transit/packet/StaticPacket.java
@@ -0,0 +1,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;
+ }
+} \ No newline at end of file