diff options
author | Rene Treffer <treffer@measite.de> | 2015-01-14 22:43:43 +0100 |
---|---|---|
committer | Rene Treffer <treffer@measite.de> | 2015-01-14 22:43:43 +0100 |
commit | 20eb77035659a74e749962acd85146bbf03ce3f1 (patch) | |
tree | c70aaf0c6498219741bc71352e0628d5a6b58e84 /libs/minidns/src/main/java/de/measite/minidns/record/Data.java | |
parent | df742ce1e12d9909a0b1777a839e012a6dcdc78b (diff) |
Switch to maven central minidns
Diffstat (limited to 'libs/minidns/src/main/java/de/measite/minidns/record/Data.java')
-rw-r--r-- | libs/minidns/src/main/java/de/measite/minidns/record/Data.java | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libs/minidns/src/main/java/de/measite/minidns/record/Data.java b/libs/minidns/src/main/java/de/measite/minidns/record/Data.java deleted file mode 100644 index 7f2db03a..00000000 --- a/libs/minidns/src/main/java/de/measite/minidns/record/Data.java +++ /dev/null @@ -1,34 +0,0 @@ -package de.measite.minidns.record; - -import java.io.DataInputStream; -import java.io.IOException; - -import de.measite.minidns.Record.TYPE; - -/** - * Generic payload class. - */ -public interface Data { - - /** - * The payload type. - * @return The payload type. - */ - TYPE getType(); - - /** - * Binary representation of this payload. - * @return The binary representation of this payload. - */ - byte[] toByteArray(); - - /** - * Parse this payload. - * @param dis The input stream. - * @param data The plain data (needed for name cross references). - * @param length The payload length. - * @throws IOException on io error (read past paket boundary). - */ - void parse(DataInputStream dis, byte data[], int length) throws IOException; - -} |