|
GmetricJava
Embedded gmetric for java
It's one file, and not very "java-like". I have no intention of adding enums and various type checkers. Lean and mean! There are some statics for helping you with valid slope and type values. Right now it's UDP (aka "DataGram") only. However it should be a snap to add multi-cast. // you specify value as string and type
public static void send(InetAddress address, int port,
String name, String value, String type,
String units, int slope, int tmax, int dmax)
// helper for double values
public static void send(InetAddress address, int port,
String name, double dvalue,
String units, int slope, int tmax, int dmax)
// helper for int values
public static void send(InetAddress address, int port,
String name, int dvalue,
String units, int slope, int tmax, int dmax)
Multicast and additional functionality src Multicast project documentation |
Sign in to add a comment