12#ifndef ZYPP_PLUGINSCRIPT_H
13#define ZYPP_PLUGINSCRIPT_H
81 static long defaultSendTimeout();
84 static long defaultReceiveTimeout();
87 static void defaultSendTimeout(
long newval_r );
90 static void defaultReceiveTimeout(
long newval_r );
94 { defaultSendTimeout( newval_r ); defaultReceiveTimeout( newval_r ); }
112 const Arguments & args()
const;
118 pid_t getPid()
const;
121 int lastReturn()
const;
126 const std::string & lastExecError()
const;
132 long sendTimeout()
const;
135 long receiveTimeout()
const;
138 void sendTimeout(
long newval_r );
141 void receiveTimeout(
long newval_r );
145 { sendTimeout( newval_r ); receiveTimeout( newval_r ); }
157 void open(
const Pathname & script_r );
160 void open(
const Pathname & script_r,
const Arguments & args_r );
Command frame for communication with PluginScript.
Interface to plugin scripts using a Stomp inspired communication protocol.
std::vector< std::string > Arguments
Commandline arguments passed to a script on open.
RW_pointer< Impl > _pimpl
Pointer to implementation.
static const pid_t NotConnected
pid_t(-1) constant indicating no connection.
void timeout(long newval_r)
Set local default timeout (sec.) (both: send and receive).
static void defaultTimeout(long newval_r)
Set global default timeout (sec.) (both: send and receive).
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Wrapper for const correct access via Smart pointer types.