Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes
MoinMoin.script.ScriptRequestCLI Class Reference
Inheritance diagram for MoinMoin.script.ScriptRequestCLI:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.script.ScriptRequestCLI:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def read
def write
def write_err

Public Attributes

 request
 instream
 outstream
 errstream

Detailed Description

When a script runs directly on the shell, we just use the CLI request
    object (see MoinMoin.request.request_cli) to do I/O (which will use stdin/out/err).

Definition at line 46 of file __init__.py.


Constructor & Destructor Documentation

def MoinMoin.script.ScriptRequestCLI.__init__ (   self,
  request 
)

Definition at line 50 of file __init__.py.

00050 
00051     def __init__(self, request):
00052         self.request = request


Member Function Documentation

def MoinMoin.script.ScriptRequestCLI.read (   self,
  n = None 
)

Reimplemented from MoinMoin.script.ScriptRequest.

Definition at line 53 of file __init__.py.

00053 
00054     def read(self, n=None):
00055         return self.request.read(n)

Here is the caller graph for this function:

def MoinMoin.script.ScriptRequestCLI.write (   self,
  data 
)

Reimplemented from MoinMoin.script.ScriptRequest.

Definition at line 56 of file __init__.py.

00056 
00057     def write(self, data):
00058         return self.request.write(data)

Here is the caller graph for this function:

def MoinMoin.script.ScriptRequestCLI.write_err (   self,
  data 
)

Reimplemented from MoinMoin.script.ScriptRequest.

Definition at line 59 of file __init__.py.

00059 
00060     def write_err(self, data):
00061         return self.request.write(data) # XXX use correct request method - log, error, whatever.


Member Data Documentation

Reimplemented in MoinMoin.script.ScriptRequestStrings.

Definition at line 30 of file __init__.py.

Reimplemented in MoinMoin.script.ScriptRequestStrings.

Definition at line 28 of file __init__.py.

Reimplemented in MoinMoin.script.ScriptRequestStrings.

Definition at line 29 of file __init__.py.

Definition at line 51 of file __init__.py.


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