Package twisted :: Package tap :: Module telnet :: Class Options
[frames | no frames]

Class Options

UserDict --+    
           |    
     Options --+
               |
              Options


Method Summary
  opt_p(self, opt)
set the port to listen on
  opt_port(self, opt)
set the port to listen on
    Inherited from Options
  __init__(self)
  __hash__(self)
  __str__(self, width)
  _gather_flags(self)
Gather up boolean (flag) options.
  _gather_handlers(self)
Gather up options with their own handler methods.
  _gather_parameters(self)
Gather options which take a value.
  _generic_flag(self, flagName, value)
  _generic_parameter(self, parameterName, value)
  getSynopsis(self)
  getUsage(self, width)
  opt_help(self)
Display this help and exit.
  opt_version(self)
  parseArgs(self)
I am called with any leftover arguments which were not options.
  parseOptions(self, options)
The guts of the command-line parser.
  postOptions(self)
I am called after the options are parsed.
    Inherited from UserDict
  __cmp__(...)
  __contains__(...)
  __delitem__(...)
  __getitem__(...)
  __len__(...)
  __repr__(...)
  __setitem__(...)
  clear(...)
  copy(...)
  get(...)
  has_key(...)
  items(...)
  iteritems(...)
  iterkeys(...)
  itervalues(...)
  keys(...)
  popitem(...)
  setdefault(...)
  update(...)
  values(...)

Class Variable Summary
str longdesc = 'Makes a telnet server to a Python shell.'
list optParameters = [['username', 'u', 'admin', 'set the log...
str synopsis = 'Usage: mktap telnet [options]'
    Inherited from Options
NoneType defaultSubCommand = None                                                                  
NoneType parent = None                                                                  
NoneType subCommand = None                                                                  

Method Details

opt_p(self, opt)

set the port to listen on

opt_port(self, opt)

set the port to listen on

Class Variable Details

longdesc

Type:
str
Value:
'Makes a telnet server to a Python shell.'                             

optParameters

Type:
list
Value:
[['username', 'u', 'admin', 'set the login username'],
 ['password', 'w', 'changeme', 'set the password']]                    

synopsis

Type:
str
Value:
'Usage: mktap telnet [options]'                                        

Generated by Epydoc 2.0 on Sat Sep 13 04:21:02 2003 http://epydoc.sf.net