/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c MonitorNetFlow -p generated/com_deepin_defender_monitornetflow ../xml/com.deepin.defender.MonitorNetFlow.xml
 *
 * qdbusxml2cpp-fix is Copyright (C) 2016 Deepin Technology Co., Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef COM_DEEPIN_DEFENDER_MONITORNETFLOW_H
#define COM_DEEPIN_DEFENDER_MONITORNETFLOW_H

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

#include <DBusExtendedAbstractInterface>
#include <QtDBus/QtDBus>

#include "types/defenderprocinfolist.h"

/*
 * Proxy class for interface com.deepin.defender.MonitorNetFlow
 */
class __MonitorNetFlowPrivate;
class __MonitorNetFlow : public DBusExtendedAbstractInterface
{
    Q_OBJECT

public:
    static inline const char *staticInterfaceName()
    { return "com.deepin.defender.MonitorNetFlow"; }

public:
    explicit __MonitorNetFlow(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);

    ~__MonitorNetFlow();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> AddSecurityLog(int nType, const QString &sInfo)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(nType) << QVariant::fromValue(sInfo);
        return asyncCallWithArgumentList(QStringLiteral("AddSecurityLog"), argumentList);
    }

    inline void AddSecurityLogQueued(int nType, const QString &sInfo)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(nType) << QVariant::fromValue(sInfo);

        CallQueued(QStringLiteral("AddSecurityLog"), argumentList);
    }


    inline QDBusPendingReply<> ChangeIsbSaveRecord(bool change)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(change);
        return asyncCallWithArgumentList(QStringLiteral("ChangeIsbSaveRecord"), argumentList);
    }

    inline void ChangeIsbSaveRecordQueued(bool change)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(change);

        CallQueued(QStringLiteral("ChangeIsbSaveRecord"), argumentList);
    }


    inline QDBusPendingReply<> CleanJournal()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("CleanJournal"), argumentList);
    }

    inline void CleanJournalQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("CleanJournal"), argumentList);
    }


    inline QDBusPendingReply<> CleanSelectFile(const QStringList &pathList)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(pathList);
        return asyncCallWithArgumentList(QStringLiteral("CleanSelectFile"), argumentList);
    }

    inline void CleanSelectFileQueued(const QStringList &pathList)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(pathList);

        CallQueued(QStringLiteral("CleanSelectFile"), argumentList);
    }


    inline QDBusPendingReply<> ClearUsbConnectionLog()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("ClearUsbConnectionLog"), argumentList);
    }

    inline void ClearUsbConnectionLogQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("ClearUsbConnectionLog"), argumentList);
    }


    inline QDBusPendingReply<bool> DeleteSecurityLog(int nLastDate, int nType)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(nLastDate) << QVariant::fromValue(nType);
        return asyncCallWithArgumentList(QStringLiteral("DeleteSecurityLog"), argumentList);
    }



    inline QDBusPendingReply<> EnableNetFlowMonitor(bool enable)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(enable);
        return asyncCallWithArgumentList(QStringLiteral("EnableNetFlowMonitor"), argumentList);
    }

    inline void EnableNetFlowMonitorQueued(bool enable)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(enable);

        CallQueued(QStringLiteral("EnableNetFlowMonitor"), argumentList);
    }


    inline QDBusPendingReply<> ExitApp()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("ExitApp"), argumentList);
    }

    inline void ExitAppQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("ExitApp"), argumentList);
    }


    inline QDBusPendingReply<QStringList> GetDiskDevicePathList()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("GetDiskDevicePathList"), argumentList);
    }



    inline QDBusPendingReply<QString> GetLimitModel()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("GetLimitModel"), argumentList);
    }



    inline QDBusPendingReply<DefenderProcInfoList> GetPocNetFlowInfos()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("GetPocNetFlowInfos"), argumentList);
    }



    inline QDBusPendingReply<bool> GetRecordSaveSwitch()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("GetRecordSaveSwitch"), argumentList);
    }



    inline QDBusPendingReply<QString> GetUsbConnectionRecords()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("GetUsbConnectionRecords"), argumentList);
    }



    inline QDBusPendingReply<QString> GetWhiteList()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("GetWhiteList"), argumentList);
    }



    inline QDBusPendingReply<QString> MergeDevSavingInfoToStr(const QString &sName, const QString &sStatus, const QString &sSerial, const QString &sVendorID, const QString &sProductID, const QString &sParentSize, const QString &sSize)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(sName) << QVariant::fromValue(sStatus) << QVariant::fromValue(sSerial) << QVariant::fromValue(sVendorID) << QVariant::fromValue(sProductID) << QVariant::fromValue(sParentSize) << QVariant::fromValue(sSize);
        return asyncCallWithArgumentList(QStringLiteral("MergeDevSavingInfoToStr"), argumentList);
    }



    inline QDBusPendingReply<> RemoveFromWhiteLst(const QString &sName, const QString &sSerial, const QString &sVendorID, const QString &sProductID)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(sName) << QVariant::fromValue(sSerial) << QVariant::fromValue(sVendorID) << QVariant::fromValue(sProductID);
        return asyncCallWithArgumentList(QStringLiteral("RemoveFromWhiteLst"), argumentList);
    }

    inline void RemoveFromWhiteLstQueued(const QString &sName, const QString &sSerial, const QString &sVendorID, const QString &sProductID)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(sName) << QVariant::fromValue(sSerial) << QVariant::fromValue(sVendorID) << QVariant::fromValue(sProductID);

        CallQueued(QStringLiteral("RemoveFromWhiteLst"), argumentList);
    }


    inline QDBusPendingReply<> SelectLimitationModel(const QString &sModel)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(sModel);
        return asyncCallWithArgumentList(QStringLiteral("SelectLimitationModel"), argumentList);
    }

    inline void SelectLimitationModelQueued(const QString &sModel)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(sModel);

        CallQueued(QStringLiteral("SelectLimitationModel"), argumentList);
    }


    inline QDBusPendingReply<> SetRightScanVisable(bool flag)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(flag);
        return asyncCallWithArgumentList(QStringLiteral("SetRightScanVisable"), argumentList);
    }

    inline void SetRightScanVisableQueued(bool flag)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(flag);

        CallQueued(QStringLiteral("SetRightScanVisable"), argumentList);
    }


    inline QDBusPendingReply<> StartApp()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("StartApp"), argumentList);
    }

    inline void StartAppQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("StartApp"), argumentList);
    }


    inline QDBusPendingReply<> WriteConnectionRecord(const QString &sName, const QString &sDatetime, const QString &sStatus, const QString &sSerial, const QString &sVendorID, const QString &sProductID, const QString &sParentSize, const QString &sSize)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(sName) << QVariant::fromValue(sDatetime) << QVariant::fromValue(sStatus) << QVariant::fromValue(sSerial) << QVariant::fromValue(sVendorID) << QVariant::fromValue(sProductID) << QVariant::fromValue(sParentSize) << QVariant::fromValue(sSize);
        return asyncCallWithArgumentList(QStringLiteral("WriteConnectionRecord"), argumentList);
    }

    inline void WriteConnectionRecordQueued(const QString &sName, const QString &sDatetime, const QString &sStatus, const QString &sSerial, const QString &sVendorID, const QString &sProductID, const QString &sParentSize, const QString &sSize)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(sName) << QVariant::fromValue(sDatetime) << QVariant::fromValue(sStatus) << QVariant::fromValue(sSerial) << QVariant::fromValue(sVendorID) << QVariant::fromValue(sProductID) << QVariant::fromValue(sParentSize) << QVariant::fromValue(sSize);

        CallQueued(QStringLiteral("WriteConnectionRecord"), argumentList);
    }


    inline QDBusPendingReply<> WriteConnectionWhiteLst(const QString &sName, const QString &sDatetime, const QString &sStatus, const QString &sSerial, const QString &sVendorID, const QString &sProductID, const QString &sParentSize, const QString &sSize)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(sName) << QVariant::fromValue(sDatetime) << QVariant::fromValue(sStatus) << QVariant::fromValue(sSerial) << QVariant::fromValue(sVendorID) << QVariant::fromValue(sProductID) << QVariant::fromValue(sParentSize) << QVariant::fromValue(sSize);
        return asyncCallWithArgumentList(QStringLiteral("WriteConnectionWhiteLst"), argumentList);
    }

    inline void WriteConnectionWhiteLstQueued(const QString &sName, const QString &sDatetime, const QString &sStatus, const QString &sSerial, const QString &sVendorID, const QString &sProductID, const QString &sParentSize, const QString &sSize)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(sName) << QVariant::fromValue(sDatetime) << QVariant::fromValue(sStatus) << QVariant::fromValue(sSerial) << QVariant::fromValue(sVendorID) << QVariant::fromValue(sProductID) << QVariant::fromValue(sParentSize) << QVariant::fromValue(sSize);

        CallQueued(QStringLiteral("WriteConnectionWhiteLst"), argumentList);
    }


    inline QDBusPendingReply<QString> getProExePath(const QString &sId)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(sId);
        return asyncCallWithArgumentList(QStringLiteral("getProExePath"), argumentList);
    }



    inline QDBusPendingReply<bool> getRemRegisterStatus()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("getRemRegisterStatus"), argumentList);
    }



    inline QDBusPendingReply<> setRemRegisterStatus(bool bStatus)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(bStatus);
        return asyncCallWithArgumentList(QStringLiteral("setRemRegisterStatus"), argumentList);
    }

    inline void setRemRegisterStatusQueued(bool bStatus)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(bStatus);

        CallQueued(QStringLiteral("setRemRegisterStatus"), argumentList);
    }



Q_SIGNALS: // SIGNALS
    void NotifyDetailData(const QString &name, double recv, double send, int pid, const QString &device, const QString &type);
    void NotifyGlobalData(double recv, double send);
    void NotifyHeartbeat();
    void SSHStatusChanged(bool status);
    void SendPocNetFlowInfos(DefenderProcInfoList in0);
    void SendUsbConnectionInfo(const QString &sUsbInfos);
    void requestShowBlockAllSysNotify();
    void requestShowOnlyWhiteListSysNotify();
    // begin property changed signals

public Q_SLOTS:
    void CallQueued(const QString &callName, const QList<QVariant> &args);

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);

private:
    __MonitorNetFlowPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace defender {
      typedef ::__MonitorNetFlow MonitorNetFlow;
    }
  }
}
#endif
