Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.command.heartbeat.item.HeartbeatItem Class Reference
Inheritance diagram for cpc.command.heartbeat.item.HeartbeatItem:

Public Member Functions

def writeXML
 
def getCmdID
 
def getServerName
 
def getRunDir
 
def setHaveRunDir
 
def getHaveRunDir
 
def checkRunDir
 
def getState
 
def setState
 
def toJSON
 

Public Attributes

 cmdID
 
 serverName
 
 runDir
 
 state
 
 haveRunDir
 

Static Public Attributes

int stateOK = 0
 
int stateNotFound = 1
 
int stateWrongWorker = 2
 

Member Function Documentation

def cpc.command.heartbeat.item.HeartbeatItem.checkRunDir (   self)
Check whether the item's run directory is accessible.
def cpc.command.heartbeat.item.HeartbeatItem.getCmdID (   self)
Return the command ID.
def cpc.command.heartbeat.item.HeartbeatItem.getHaveRunDir (   self)
Return whether the item's run directory is accessible. 
   Returns None if it hasn't been checked.
def cpc.command.heartbeat.item.HeartbeatItem.getRunDir (   self)
Return the item's run directory.
def cpc.command.heartbeat.item.HeartbeatItem.getServerName (   self)
Return the originating server name.
def cpc.command.heartbeat.item.HeartbeatItem.getState (   self)
get the state of the item.
def cpc.command.heartbeat.item.HeartbeatItem.setHaveRunDir (   self,
  val 
)
Set whether the item's run directory is present.
def cpc.command.heartbeat.item.HeartbeatItem.setState (   self,
  state 
)
set the state of the item. The state should be one of the constants
   stateOK, stateNotFound.
def cpc.command.heartbeat.item.HeartbeatItem.toJSON (   self)
def cpc.command.heartbeat.item.HeartbeatItem.writeXML (   self,
  outf 
)
Write state as xml.

Member Data Documentation

cpc.command.heartbeat.item.HeartbeatItem.cmdID
cpc.command.heartbeat.item.HeartbeatItem.haveRunDir
cpc.command.heartbeat.item.HeartbeatItem.runDir
cpc.command.heartbeat.item.HeartbeatItem.serverName
cpc.command.heartbeat.item.HeartbeatItem.state
int cpc.command.heartbeat.item.HeartbeatItem.stateNotFound = 1
static
int cpc.command.heartbeat.item.HeartbeatItem.stateOK = 0
static
int cpc.command.heartbeat.item.HeartbeatItem.stateWrongWorker = 2
static

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