softwarecontainer  0.18.0-739e8d7 2017-05-04
softwarecontainer::SoftwareContainerAgentAdaptor Class Reference
Inheritance diagram for softwarecontainer::SoftwareContainerAgentAdaptor:
[legend]
Collaboration diagram for softwarecontainer::SoftwareContainerAgentAdaptor:
[legend]

Public Member Functions

 SoftwareContainerAgentAdaptor (Glib::RefPtr< Glib::MainLoop > &mainLoop,::softwarecontainer::SoftwareContainerAgent &agent, bool useSessionBus)
 
void List (SoftwareContainerAgentMessageHelper msg) override
 
void ListCapabilities (SoftwareContainerAgentMessageHelper msg) override
 
void Execute (const gint32 containerID, const std::string commandLine, const std::string workingDirectory, const std::string outputFile, const std::map< std::string, std::string > env, SoftwareContainerAgentMessageHelper msg) override
 
void Destroy (const gint32 containerID, SoftwareContainerAgentMessageHelper msg) override
 
void BindMount (const gint32 containerID, const std::string pathInHost, const std::string PathInContainer, const bool readOnly, SoftwareContainerAgentMessageHelper msg) override
 
void Suspend (const gint32 containerID, SoftwareContainerAgentMessageHelper msg) override
 
void Resume (const gint32 containerID, SoftwareContainerAgentMessageHelper msg) override
 
void SetCapabilities (const gint32 containerID, const std::vector< std::string > capabilities, SoftwareContainerAgentMessageHelper msg) override
 
void Create (const std::string config, SoftwareContainerAgentMessageHelper msg) override
 

Protected Member Functions

void connect (Gio::DBus::BusType, std::string)
 
void ProcessStateChanged_emitter (gint32, guint32, bool, guint32)
 
void on_bus_acquired (const Glib::RefPtr< Gio::DBus::Connection > &connection, const Glib::ustring &)
 
void on_name_acquired (const Glib::RefPtr< Gio::DBus::Connection > &, const Glib::ustring &)
 
void on_name_lost (const Glib::RefPtr< Gio::DBus::Connection > &connection, const Glib::ustring &)
 
void on_method_call (const Glib::RefPtr< Gio::DBus::Connection > &, const Glib::ustring &, const Glib::ustring &, const Glib::ustring &, const Glib::ustring &method_name, const Glib::VariantContainerBase &parameters, const Glib::RefPtr< Gio::DBus::MethodInvocation > &invocation)
 
void on_interface_get_property (Glib::VariantBase &property, const Glib::RefPtr< Gio::DBus::Connection > &connection, const Glib::ustring &sender, const Glib::ustring &object_path, const Glib::ustring &interface_name, const Glib::ustring &property_name)
 
bool on_interface_set_property (const Glib::RefPtr< Gio::DBus::Connection > &connection, const Glib::ustring &sender, const Glib::ustring &object_path, const Glib::ustring &interface_name, const Glib::ustring &property_name, const Glib::VariantBase &value)
 

Protected Attributes

sigc::signal< void, gint32, guint32, bool, guint32 > ProcessStateChanged_signal
 
sigc::signal< void, std::string > name_lost
 
sigc::signal< void, std::string > name_acquired
 
sigc::signal< void, std::string > object_not_registered
 

Detailed Description

Definition at line 27 of file softwarecontaineragentadaptor.h.


The documentation for this class was generated from the following files: