Inherits Continuation.
Public Member Functions | |
MachineStatusSM (TSNodeHandle_t h, TSNodeStatus_t s) | |
MachineStatusSM (TSNodeHandle_t h, TSNodeStatus_t s, TSClusterStatusHandle_t sh) | |
MachineStatusSM (TSClusterStatusHandle_t sh) | |
~MachineStatusSM () | |
int | MachineStatusSMEvent (Event *e, void *d) |
Definition at line 82 of file ClusterAPI.cc.
MachineStatusSM::MachineStatusSM | ( | TSNodeHandle_t | h, | |
TSNodeStatus_t | s | |||
) | [inline] |
Definition at line 86 of file ClusterAPI.cc.
References MachineStatusSMEvent(), and SET_HANDLER.
MachineStatusSM::MachineStatusSM | ( | TSNodeHandle_t | h, | |
TSNodeStatus_t | s, | |||
TSClusterStatusHandle_t | sh | |||
) | [inline] |
Definition at line 93 of file ClusterAPI.cc.
References MachineStatusSMEvent(), and SET_HANDLER.
MachineStatusSM::MachineStatusSM | ( | TSClusterStatusHandle_t | sh | ) | [inline] |
Definition at line 101 of file ClusterAPI.cc.
References MachineStatusSMEvent(), and SET_HANDLER.
MachineStatusSM::~MachineStatusSM | ( | ) | [inline] |
Definition at line 106 of file ClusterAPI.cc.
int MachineStatusSM::MachineStatusSMEvent | ( | Event * | e, | |
void * | d | |||
) |
Definition at line 120 of file ClusterAPI.cc.
References CLUSTER_STATUS_HANDLE_TO_INDEX, Cluster::current_configuration(), Debug, DOT_SEPARATED, node_callout_entry::func, func, ClusterMachine::ip, IP_TO_NODE_HANDLE, ClusterConfiguration::machines, Continuation::mutex, MUTEX_TRY_LOCK, ClusterConfiguration::n_machines, NE_STATE_INITIALIZED, NODE_ONLINE, node_callout_entry::state, this_cluster(), this_cluster_machine(), and this_ethread().
Referenced by MachineStatusSM().