Class CommandHelper

java.lang.Object
com.illumon.iris.db.v2.logaggregator.CommandHelper

public class CommandHelper
extends Object
Define constants and methods for use in sending and receiving log aggregator messages. Format of a command message is
  1. MAGIC_NUMBER (int)
  2. VERSION_NUMBER
  3. remaining message length in bytes (1 for just a command)
  4. message (usually just a command byte)