#include <DBusConn.h>
Public Member Functions | |
| DBusConn () | |
| ~DBusConn () | |
| bool | connect (DBusBusType type, const std::string &service=std::string()) |
| void | setTimeout (int miliseconds) |
| bool | send (const DBusMsg &msg) |
| DBusMsg | call (const DBusMsg &msg) |
| void | flush () |
| DBusMsg | receive () |
| DBusConnection * | getConnection () const |
Private Member Functions | |
| DBusConn (const DBusConn &) | |
| DBusConn & | operator= (const DBusConn &) |
Private Attributes | |
| DBusConnection * | connection |
| DBusError | dbus_error |
| DBusConn::DBusConn | ( | const DBusConn & | ) | [private] |
| DBusConn::DBusConn | ( | ) |
References dbus_error.
| DBusConn::~DBusConn | ( | ) |
References connection, dbus_error, and y2milestone.
| bool DBusConn::connect | ( | DBusBusType | type, | |
| const std::string & | service = std::string() | |||
| ) |
References connection, dbus_error, y2error, and y2milestone.
Referenced by DBusServer::connect(), and SCR::SCR().
| void DBusConn::setTimeout | ( | int | miliseconds | ) |
| bool DBusConn::send | ( | const DBusMsg & | msg | ) |
References connection, dbus_error, DBusMsg::getMessage(), DBusMsg::setMessage(), and y2error.
Referenced by CallDBus(), and DBusServer::callerPid().
| void DBusConn::flush | ( | ) |
| DBusMsg DBusConn::receive | ( | ) |
| DBusConnection * DBusConn::getConnection | ( | ) | const |
References connection.
DBusConnection* DBusConn::connection [private] |
Referenced by call(), connect(), flush(), getConnection(), receive(), send(), setTimeout(), and ~DBusConn().
DBusError DBusConn::dbus_error [private] |
Referenced by call(), connect(), DBusConn(), and ~DBusConn().
1.5.6