private void DeleteOrder(CCommandStucture cs) { try { //TODO change to commandname Message sendMessage = m_publishersList[0].Publisher.NewMessage(MessageKeyType.KeyName, "FutDelOrder"); DataMessage smsg = (DataMessage)sendMessage; CCommandDelOrder delo = (CCommandDelOrder)cs.Command; smsg["order_id"].set(delo.Order_id); m_publishersList[0].Publisher.Post(sendMessage, PublishFlag.NeedReply); smsg.Dispose(); }catch (Exception e) { Log("Error deleting order. " + e.Message); Error("Error deleting order", e); } }