4Suite API Documentation

Module Ft.Server.Server.SCore.ServerImp

Server repository resource class
Copyright 2003 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Globals:

Classes

class ServerImp(Ft.Server.Server.SCore.XmlDocumentImp.XmlDocumentImp)
A system server

Methods

getStatus(self)
Returns the state of this server: running (1) or stopped (0) based on the content of the resource. No check is made to see if a server process is running.
setRunning(self)
Change the state of this server to running
setStopped(self)
Change the state of this server to stopped

Methods inherited from class Ft.Server.Server.SCore.XmlDocumentImp.XmlDocumentImp

Methods inherited from class Ft.Server.Server.SCore.RawFileImp.RawFileImp

Methods inherited from class Ft.Server.Server.SCore.ResourceMetaDataImp.ResourceMetaDataImp

Members

resourceType = 15

Globals

FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
UPDATE_STATE = '<?xml version="1.0"?>\n<xupdate:modifications\n v...\'%s\'/></xupdate:append>\n</xupdate:modifications>\n'