Esempio n. 1
0
void MyProcess::readStdOut() {
	genericRead( readAllStandardOutput() );
}
Esempio n. 2
0
void MyProcess::readTmpFile() {
	genericRead( temp_file.readAll() );
}
Esempio n. 3
0
   // DEBUG

#ifdef DEBUG
   const char* dump(bool reset) const { return UClientImage<USSLSocket>::dump(reset); }
#endif

protected:

   // define method VIRTUAL of class UEventFd

   virtual int handlerRead()
      {
      U_TRACE(5, "USSLClientImage::handlerRead()")

      int result = genericRead();

      if (result == U_PLUGIN_HANDLER_AGAIN) U_RETURN(U_NOTIFIER_OK); // NONBLOCKING...
      if (result == U_PLUGIN_HANDLER_ERROR) U_RETURN(U_NOTIFIER_DELETE);

      UClientImage_Base::initAfterGenericRead();

      if (UServer_Base::isLog()) UClientImage_Base::logRequest();

      U_INTERNAL_ASSERT_EQUALS(result, U_PLUGIN_HANDLER_GO_ON)

      static bool init;

      if (init == false)
         {
         init = true;