public class NodeInfoMessage extends GraphLabMessage {
private GraphLabNodeInfo nodeInfo;
public static void register() {
MessageIds.registerDecoder(MessageIds.NODEINFO, new GraphLabMessageDecoder() {
@Override
public GraphLabMessage decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buf) {
if (buf.readableBytes() < 12) return null;
int nodeId = buf.readInt();
String address = GraphLabMessage.readString(buf);