addField(PEER_LOCATIONS, ShortBuffer.class);
}};
public static Message createFNPLocChangeNotificationNew(double myLocation, double[] locations) {
Message msg = new Message(FNPLocChangeNotificationNew);
ShortBuffer dst = new ShortBuffer(Fields.doublesToBytes(locations));
msg.set(LOCATION, myLocation);
msg.set(PEER_LOCATIONS, dst);
return msg;
}