#include "TOracleSession.hh" ClassImp(TOracleSession) //_____________________________________________________________________________ TOracleSession::TOracleSession() { } //_____________________________________________________________________________ TOracleSession::~TOracleSession() { } //_____________________________________________________________________________ void TOracleSession::Clear(Option_t* Opt) { } //_____________________________________________________________________________ void TOracleSession::Print(Option_t* Opt) const { char text[200]; if ((strstr(Opt,"") == 0) || strstr(Opt,"banner") != 0) { printf("-----------------------------------------------------------------"); printf("--------------------------------\n"); printf(" PROGRAM LOGON_TIME USER MACHINE PROCESS TERMINAL "); printf(" TYPE SID SCHEMA STATUS \n"); printf("-----------------------------------------------------------------"); printf("--------------------------------\n"); } if (fPROGRAM.Data() != 0) { strncpy(text,fPROGRAM.Data(),40); text[40] = 0; } else text[0] = 0; if (strstr(Opt,"data") != 0) { printf("%-40s ",text); printf("%11i %-8s %-25s %10s %7s %10s %8i %10s %10s\n", fLOGON_TIME, fOSUSER.Data(), fMACHINE.Data(), fPROCESS.Data(), fTERMINAL.Data(), fTYPE.Data(), fSID, // fSERIAL, fSCHEMANAME.Data(), // fMODULE.Data(), fSTATUS.Data()); } }