-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gNOI Cold Reboot - Integrated Docker and Makefile changes
- Loading branch information
1 parent
e2450dd
commit 2a61fcb
Showing
1 changed file
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
|
||
/* | ||
* This file was automatically generated by dbusxx-xml2cpp; DO NOT EDIT! | ||
*/ | ||
|
||
#ifndef __dbusxx__rebootbackend_gnoi_reboot_dbus_h__PROXY_MARSHAL_H | ||
#define __dbusxx__rebootbackend_gnoi_reboot_dbus_h__PROXY_MARSHAL_H | ||
|
||
#include <dbus-c++/dbus.h> | ||
#include <cassert> | ||
|
||
namespace org { | ||
namespace SONiC { | ||
namespace HostService { | ||
|
||
class gnoi_reboot_proxy | ||
: public ::DBus::InterfaceProxy | ||
{ | ||
public: | ||
|
||
gnoi_reboot_proxy() | ||
: ::DBus::InterfaceProxy("org.SONiC.HostService.gnoi_reboot") | ||
{ | ||
} | ||
|
||
public: | ||
|
||
/* properties exported by this interface */ | ||
public: | ||
|
||
/* methods exported by this interface, | ||
* this functions will invoke the corresponding methods on the remote objects | ||
*/ | ||
void issue_reboot(const std::vector< std::string >& options, int32_t& argout0, std::string& argout1) | ||
{ | ||
::DBus::CallMessage call; | ||
::DBus::MessageIter wi = call.writer(); | ||
|
||
wi << options; | ||
call.member("issue_reboot"); | ||
::DBus::Message ret = invoke_method (call); | ||
::DBus::MessageIter ri = ret.reader(); | ||
|
||
ri >> argout0; | ||
ri >> argout1; | ||
} | ||
|
||
void get_reboot_status(int32_t& argout0, std::string& argout1) | ||
{ | ||
::DBus::CallMessage call; | ||
call.member("get_reboot_status"); | ||
::DBus::Message ret = invoke_method (call); | ||
::DBus::MessageIter ri = ret.reader(); | ||
|
||
ri >> argout0; | ||
ri >> argout1; | ||
} | ||
|
||
|
||
public: | ||
|
||
/* signal handlers for this interface | ||
*/ | ||
|
||
private: | ||
|
||
/* unmarshalers (to unpack the DBus message before calling the actual signal handler) | ||
*/ | ||
}; | ||
|
||
} } } | ||
#endif //__dbusxx__rebootbackend_gnoi_reboot_dbus_h__PROXY_MARSHAL_H |