public void addCommand(LogCommands cmdtype, byte[] cmdbytes, out long logWaitNumber) { lock (log_handler) { log_handler._addCommand(cmdtype, cmdbytes, out logWaitNumber); } // we always expect the ILogReceiver to actually apply the command receiver.handleCommand(cmdtype, cmdbytes); }