Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.client.message.ClientMessage Class Reference
Inheritance diagram for cpc.client.message.ClientMessage:
cpc.network.com.client_base.ClientBase

Public Member Functions

def stopRequest
 
def loginRequest
 
def addUser
 
def deleteUser
 
def promoteUser
 
def demoteUser
 
def grantAccess
 
def pingServer
 
def serverInfo
 
def networkTopology
 
def addNode
 
def listServers
 
def revokeNode
 
def grantNodeConnection
 
def grantAllNodeConnections
 
def changeNodePriority
 
def listRequest
 
def statusRequest
 
def readConfRequest
 
def saveStateRequest
 
def commandFailedRequest
 
def projectsRequest
 
def projectStartRequest
 
def projectDeleteRequest
 
def projectGetDefaultRequest
 
def projectSetDefaultRequest
 
def projectListRequest
 
def projectInfoRequest
 
def projectDebugRequest
 
def projectLogRequest
 
def projectGraphRequest
 
def projectAddInstanceRequest
 
def projectConnectRequest
 
def projectActivateRequest
 
def projectHoldRequest
 
def projectRerunRequest
 
def projectUploadRequest
 
def listModules
 
def projectImportRequest
 
def projectGetRequest
 
def projectSetRequest
 
def projectTransactRequest
 
def projectCommitRequest
 
def projectRollbackRequest
 
def projectSaveRequest
 
def projectRestoreRequest
 
- Public Member Functions inherited from cpc.network.com.client_base.ClientBase
def putRequest
 
def postRequest
 
def closeClient
 

Public Attributes

 host
 
 port
 
 conf
 
 use_verified_https
 
- Public Attributes inherited from cpc.network.com.client_base.ClientBase
 host
 
 port
 
 conf
 
 use_verified_https
 
 conn
 

Detailed Description

Client request class. Has methods for specific requests.
    Messages that end users should be able to call should be defined here

Member Function Documentation

def cpc.client.message.ClientMessage.addNode (   self,
  host,
  unverified_https_port 
)
def cpc.client.message.ClientMessage.addUser (   self,
  user,
  password 
)
def cpc.client.message.ClientMessage.changeNodePriority (   self,
  node,
  priority,
  port 
)
def cpc.client.message.ClientMessage.commandFailedRequest (   self,
  cmdID,
  cputime 
)
def cpc.client.message.ClientMessage.deleteUser (   self,
  user 
)
def cpc.client.message.ClientMessage.demoteUser (   self,
  user 
)
def cpc.client.message.ClientMessage.grantAccess (   self,
  user 
)
def cpc.client.message.ClientMessage.grantAllNodeConnections (   self)
def cpc.client.message.ClientMessage.grantNodeConnection (   self,
  serverId 
)
def cpc.client.message.ClientMessage.listModules (   self)
def cpc.client.message.ClientMessage.listRequest (   self,
  name 
)
An assortment of list commands: for queues, running commands, and 
   heartbeat items.
def cpc.client.message.ClientMessage.listServers (   self)
def cpc.client.message.ClientMessage.loginRequest (   self,
  user,
  password 
)
def cpc.client.message.ClientMessage.networkTopology (   self)
def cpc.client.message.ClientMessage.pingServer (   self,
  serverId 
)
def cpc.client.message.ClientMessage.projectActivateRequest (   self,
  project,
  item 
)
List all projects
def cpc.client.message.ClientMessage.projectAddInstanceRequest (   self,
  project,
  func,
  name 
)
Add an instance to the top-level active network
def cpc.client.message.ClientMessage.projectCommitRequest (   self,
  project 
)
Commit a series of previously scheduled set&connect requests, 
   atomically.
def cpc.client.message.ClientMessage.projectConnectRequest (   self,
  project,
  src,
  dst 
)
Add a connection to the top-level active network
def cpc.client.message.ClientMessage.projectDebugRequest (   self,
  project,
  item 
)
Get debug info for project items
def cpc.client.message.ClientMessage.projectDeleteRequest (   self,
  project,
  deleteDir 
)
Delete a project and optionally also its directory 
def cpc.client.message.ClientMessage.projectGetDefaultRequest (   self)
Get the default project project name
def cpc.client.message.ClientMessage.projectGetRequest (   self,
  project,
  item,
  getFile = False 
)
Get a data item from a project.
def cpc.client.message.ClientMessage.projectGraphRequest (   self,
  project,
  item 
)
Graph item's network in a project
def cpc.client.message.ClientMessage.projectHoldRequest (   self,
  project,
  item 
)
List all projects
def cpc.client.message.ClientMessage.projectImportRequest (   self,
  project,
  module 
)
Import a module in a network
def cpc.client.message.ClientMessage.projectInfoRequest (   self,
  project,
  item 
)
List descriptions of project items
def cpc.client.message.ClientMessage.projectListRequest (   self,
  project,
  item 
)
List all items in a project
def cpc.client.message.ClientMessage.projectLogRequest (   self,
  project,
  item 
)
List all items in a project
def cpc.client.message.ClientMessage.projectRerunRequest (   self,
  project,
  item,
  clearError 
)
Force a rerun and optionally clear an error.
def cpc.client.message.ClientMessage.projectRestoreRequest (   self,
  projectBundle,
  projectName 
)
Get a data item from a project.
def cpc.client.message.ClientMessage.projectRollbackRequest (   self,
  project 
)
Cancel a series of previously scheduled set&connect requests.
def cpc.client.message.ClientMessage.projectSaveRequest (   self,
  project 
)
Get a data item from a project.
def cpc.client.message.ClientMessage.projectSetDefaultRequest (   self,
  name 
)
Set the default project project name
def cpc.client.message.ClientMessage.projectSetRequest (   self,
  project,
  item,
  value,
  filename 
)
Get a data item from a project.
def cpc.client.message.ClientMessage.projectsRequest (   self)
List all projects
def cpc.client.message.ClientMessage.projectStartRequest (   self,
  name 
)
Start a new empty project 
def cpc.client.message.ClientMessage.projectTransactRequest (   self,
  project 
)
Start a series of previously scheduled set&connect requests, 
   to commit atomically.
def cpc.client.message.ClientMessage.projectUploadRequest (   self,
  project,
  file 
)
Upload project file
def cpc.client.message.ClientMessage.promoteUser (   self,
  user 
)
def cpc.client.message.ClientMessage.readConfRequest (   self)
Tell the server to re-read its configuration.
def cpc.client.message.ClientMessage.revokeNode (   self,
  serverId 
)
def cpc.client.message.ClientMessage.saveStateRequest (   self)
Tell the server to save its state now.
def cpc.client.message.ClientMessage.serverInfo (   self)
def cpc.client.message.ClientMessage.statusRequest (   self,
  project 
)
Fetches an aggregated general information about the server and
   and its projects. The argument project is optional
def cpc.client.message.ClientMessage.stopRequest (   self)

Member Data Documentation

cpc.client.message.ClientMessage.conf
cpc.client.message.ClientMessage.host
cpc.client.message.ClientMessage.port
cpc.client.message.ClientMessage.use_verified_https

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