diff options
Diffstat (limited to 'mobileapp/src/smoots/udesign/packet/Packet.java')
-rwxr-xr-x | mobileapp/src/smoots/udesign/packet/Packet.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mobileapp/src/smoots/udesign/packet/Packet.java b/mobileapp/src/smoots/udesign/packet/Packet.java new file mode 100755 index 0000000..a28216b --- /dev/null +++ b/mobileapp/src/smoots/udesign/packet/Packet.java @@ -0,0 +1,12 @@ +package smoots.udesign.packet;
+
+/**
+ * Interface for the Packet that contains phone input to the server.
+ */
+public interface Packet {
+ /**
+ * Return JSON formatted packet that can be sent through socket.
+ * @return JSON formatted packet
+ */
+ public String packetToText();
+}
|