The Assimilation Project  based on Assimilation version 1.1.7.1474836767
_ResourceCmd Struct Reference

#include <resourcecmd.h>

Collaboration diagram for _ResourceCmd:

Data Fields

AssimObj baseclass
 Base object: implements ref, unref, toString. More...
 
gint64 starttime
 Time to start it next (or when it started if it's now running) More...
 
gint64 endtime
 Time when it completed. More...
 
ConfigContextrequest
 The request. More...
 
gpointer user_data
 User data for the request. More...
 
ResourceCmdCallback callback
 Callback to call when request is complete. More...
 
void(* execute )(ResourceCmd *self)
 Execute this resource command. More...
 
const char * resourcename
 Name of this resource. More...
 
const char * operation
 Operation being performed. More...
 
char * loggingname
 Malloced. More...
 
guint32 timeout_secs
 Timeout for this operation (secs) More...
 
gboolean is_running
 TRUE if this resource agent is running. More...
 
gboolean last_success
 TRUE if previous operation was successful. More...
 

Detailed Description

Definition at line 50 of file resourcecmd.h.

Field Documentation

AssimObj _ResourceCmd::baseclass

Base object: implements ref, unref, toString.

Definition at line 51 of file resourcecmd.h.

Referenced by resourcelsb_new(), resourcenagios_new(), and resourceocf_new().

ResourceCmdCallback _ResourceCmd::callback

Callback to call when request is complete.

Definition at line 57 of file resourcecmd.h.

gint64 _ResourceCmd::endtime

Time when it completed.

Definition at line 54 of file resourcecmd.h.

void(* _ResourceCmd::execute) (ResourceCmd *self)
gboolean _ResourceCmd::is_running

TRUE if this resource agent is running.

Definition at line 63 of file resourcecmd.h.

Referenced by _resource_queue_runqueue().

gboolean _ResourceCmd::last_success

TRUE if previous operation was successful.

Definition at line 64 of file resourcecmd.h.

Referenced by _resource_queue_endnotify().

char* _ResourceCmd::loggingname

Malloced.

Definition at line 61 of file resourcecmd.h.

Referenced by _resource_queue_endnotify().

const char* _ResourceCmd::operation

Operation being performed.

Definition at line 60 of file resourcecmd.h.

ConfigContext* _ResourceCmd::request

The request.

Definition at line 55 of file resourcecmd.h.

Referenced by _resource_queue_cancelall(), _resource_queue_cmd_append(), and _resource_queue_qelem_new().

const char* _ResourceCmd::resourcename

Name of this resource.

Definition at line 59 of file resourcecmd.h.

Referenced by _resource_queue_cmd_append(), _resource_queue_cmd_remove(), and _resource_queue_endnotify().

gint64 _ResourceCmd::starttime

Time to start it next (or when it started if it's now running)

Definition at line 52 of file resourcecmd.h.

Referenced by _resource_queue_endnotify(), _resource_queue_qelem_new(), and _resource_queue_runqueue().

guint32 _ResourceCmd::timeout_secs

Timeout for this operation (secs)

Definition at line 62 of file resourcecmd.h.

gpointer _ResourceCmd::user_data

User data for the request.

Definition at line 56 of file resourcecmd.h.

Referenced by _resource_queue_cmd_append().


The documentation for this struct was generated from the following file: