void MyProcess::readStdOut() { genericRead( readAllStandardOutput() ); }
void MyProcess::readTmpFile() { genericRead( temp_file.readAll() ); }
// 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;