void QApplicationConfig::request(pb::ContainerType type) { m_tx.set_type(type); #ifdef QT_DEBUG std::string s; gpb::TextFormat::PrintToString(m_tx, &s); qDebug() << "request:" << QString::fromStdString(s); #endif sendConfigMessage(QByteArray(m_tx.SerializeAsString().c_str(), m_tx.ByteSize())); m_tx.Clear(); }
void ConfigBase::sendRetrieveApplication(Container &tx) { sendConfigMessage(MT_RETRIEVE_APPLICATION, tx); }
void ConfigBase::sendListApplications() { Container &tx = m_configTx; sendConfigMessage(MT_LIST_APPLICATIONS, tx); }