Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.server.message.server_command.ServerCommand Class Reference
Inheritance diagram for cpc.server.message.server_command.ServerCommand:

Public Member Functions

def run
 
def finish
 
def getRequestString
 

Public Attributes

 name
 

Detailed Description

A server command. Constructed in the server command exec class,
    and executed afterwards (possibly in multiple threads at the 
    same time!!) .

Member Function Documentation

def cpc.server.message.server_command.ServerCommand.finish (   self,
  serverState,
  request 
)
Finish and cleanup the command. No response allowed. 
   Only called if run() threw no exception.
def cpc.server.message.server_command.ServerCommand.getRequestString (   self)
Get the request command string associated with the command.
def cpc.server.message.server_command.ServerCommand.run (   self,
  serverState,
  request,
  response 
)
Run the command. Responses should go to response

Member Data Documentation

cpc.server.message.server_command.ServerCommand.name

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