Logo Search packages:      
Sourcecode: condor version File versions  Download package

JobDisconnectedEvent Class Reference

#include <condor_event.h>

Inheritance diagram for JobDisconnectedEvent:

ULogEvent

List of all members.


Detailed Description

JobConnectionEvent object. This subclass of ULogEvent is a base class used for the various userlog events related to the connection between the submit and execute hosts being lost (and potentially re-established). This is an abstract base class, you can't instantiate one of these. Instead, you must instantiate one of its children: JobDisconnectedEvent, JobReconnectedEvent, or JobReconnectFailedEvent.

Definition at line 1413 of file condor_event.h.


Public Member Functions

bool canReconnect (void)
const char * eventName (void) const
const char * getDisconnectReason (void) const
int getEvent (FILE *file)
const char * getNoReconnectReason (void) const
const char * getStartdAddr (void) const
const char * getStartdName (void) const
virtual void initFromClassAd (ClassAd *ad)
int putEvent (FILE *file)
virtual int readEvent (FILE *)
void setDisconnectReason (const char *)
 stores a copy of the string in our "reason" member
void setGlobalJobId (const char *gjid)
void setNoReconnectReason (const char *)
 stores a copy of the string in our "reason" member
void setStartdAddr (char const *startd)
 stores a copy of the string in our "startd_addr" member
void setStartdName (char const *name)
 stores a copy of the string in our "startd_name" member
virtual ClassAdtoClassAd (void)
virtual int writeEvent (FILE *)

Public Attributes

int cluster
 The cluster field of the Condor ID for this event.
time_t eventclock
ULogEventNumber eventNumber
 The event last read, or to be written.
struct tm eventTime
 The time this event occurred.
int proc
 The proc field of the Condor ID for this event.
char * scheddname
 Added by Ameet.
int subproc
 The subproc field of the Condor ID for this event.

Protected Member Functions

void insertCommonIdentifiers (ClassAd *adToFill)
 the global job id for the job associated with this event
int readHeader (FILE *file)
int readRusage (FILE *file, rusage &usage)
char * rusageToStr (rusage usage)
int strToRusage (char *rusageStr, rusage &usage)
int writeHeader (FILE *file)
int writeRusage (FILE *, rusage &)

Protected Attributes

const char * m_gjid

Private Attributes

bool can_reconnect
char * disconnect_reason
char * no_reconnect_reason
char * startd_addr
char * startd_name

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index