12#ifndef ZYPP_PLUGINSCRIPT_H 
   13#define ZYPP_PLUGINSCRIPT_H 
  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 );
 
  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.
long sendTimeout() const
Local default timeout (sec.) when sending data.
PluginScript()
Default ctor.
RW_pointer< Impl > _pimpl
Pointer to implementation.
static long defaultReceiveTimeout()
Global default timeout (sec.) when receiving data.
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).
static long defaultSendTimeout()
Global default timeout (sec.) when sending data.
long receiveTimeout() const
Local default timeout (sec.) when receiving data.
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.