Commit d8faa14e authored by Benjamin Krämer's avatar Benjamin Krämer

Updated java implementation

parent 94d591c2
......@@ -715,6 +715,8 @@ public class NetStreamConstants {
// Values types
public static int TYPE_UNKNOWN = 0x00;
/**
* Followed by a byte who's value is 0 or 1
*/
......@@ -796,6 +798,8 @@ public class NetStreamConstants {
* elements themselves have to give their type.
*/
public static byte TYPE_ARRAY = 0x60;
public static int TYPE_NULL = 0x61;
......
This diff is collapsed.
package org.netstream;
import java.io.IOException;
/**
* Created by kraemerb on 25.02.2015.
*/
public class TestSender {
public static void main(String[] args) throws IOException {
final String sourceId = "C++_netstream_test";
long timeId = 0L;
NetStreamSender stream = new NetStreamSender("localhost", 2001);
stream.graphCleared(sourceId, timeId++);
stream.close();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment