libzypp
10.5.0
|
PluginScript implementation. More...
Public Member Functions | |
Impl (const Pathname &script_r=Pathname(), const Arguments &args_r=Arguments()) | |
~Impl () | |
const Pathname & | script () const |
const Arguments & | args () const |
pid_t | getPid () const |
bool | isOpen () const |
int | lastReturn () const |
const std::string & | lastExecError () const |
void | open (const Pathname &script_r=Pathname(), const Arguments &args_r=Arguments()) |
int | close () |
void | send (const PluginFrame &frame_r) const |
PluginFrame | receive () const |
Public Attributes | |
long | _sendTimeout |
long | _receiveTimeout |
Static Public Attributes | |
static long | _defaultSendTimeout |
static long | _defaultReceiveTimeout |
Private Attributes | |
Pathname | _script |
Arguments | _args |
scoped_ptr < ExternalProgramWithStderr > | _cmd |
DefaultIntegral< int, 0 > | _lastReturn |
std::string | _lastExecError |
PluginScript implementation.
Definition at line 109 of file PluginScript.cc.
zypp::PluginScript::Impl::Impl | ( | const Pathname & | script_r = Pathname() , |
const Arguments & | args_r = Arguments() |
||
) | [inline] |
Definition at line 112 of file PluginScript.cc.
zypp::PluginScript::Impl::~Impl | ( | ) | [inline] |
Definition at line 119 of file PluginScript.cc.
const Pathname& zypp::PluginScript::Impl::script | ( | ) | const [inline] |
Definition at line 130 of file PluginScript.cc.
const Arguments& zypp::PluginScript::Impl::args | ( | ) | const [inline] |
Definition at line 133 of file PluginScript.cc.
pid_t zypp::PluginScript::Impl::getPid | ( | ) | const [inline] |
Definition at line 136 of file PluginScript.cc.
bool zypp::PluginScript::Impl::isOpen | ( | ) | const [inline] |
Definition at line 139 of file PluginScript.cc.
int zypp::PluginScript::Impl::lastReturn | ( | ) | const [inline] |
Definition at line 142 of file PluginScript.cc.
const std::string& zypp::PluginScript::Impl::lastExecError | ( | ) | const [inline] |
Definition at line 145 of file PluginScript.cc.
void zypp::PluginScript::Impl::open | ( | const Pathname & | script_r = Pathname() , |
const Arguments & | args_r = Arguments() |
||
) |
Definition at line 189 of file PluginScript.cc.
int zypp::PluginScript::Impl::close | ( | ) |
Definition at line 223 of file PluginScript.cc.
void zypp::PluginScript::Impl::send | ( | const PluginFrame & | frame_r | ) | const |
Definition at line 255 of file PluginScript.cc.
PluginFrame zypp::PluginScript::Impl::receive | ( | ) | const |
Definition at line 349 of file PluginScript.cc.
long zypp::PluginScript::Impl::_defaultSendTimeout [static] |
( PLUGIN_SEND_TIMEOUT > 0 ? PLUGIN_SEND_TIMEOUT : ( PLUGIN_TIMEOUT > 0 ? PLUGIN_TIMEOUT : 30 ) )
Definition at line 123 of file PluginScript.cc.
long zypp::PluginScript::Impl::_defaultReceiveTimeout [static] |
( PLUGIN_RECEIVE_TIMEOUT > 0 ? PLUGIN_RECEIVE_TIMEOUT : ( PLUGIN_TIMEOUT > 0 ? PLUGIN_TIMEOUT : 30 ) )
Definition at line 124 of file PluginScript.cc.
Definition at line 126 of file PluginScript.cc.
Definition at line 127 of file PluginScript.cc.
Pathname zypp::PluginScript::Impl::_script [private] |
Definition at line 158 of file PluginScript.cc.
Arguments zypp::PluginScript::Impl::_args [private] |
Definition at line 159 of file PluginScript.cc.
scoped_ptr<ExternalProgramWithStderr> zypp::PluginScript::Impl::_cmd [private] |
Definition at line 160 of file PluginScript.cc.
DefaultIntegral<int,0> zypp::PluginScript::Impl::_lastReturn [private] |
Definition at line 161 of file PluginScript.cc.
std::string zypp::PluginScript::Impl::_lastExecError [private] |
Definition at line 162 of file PluginScript.cc.