Table of Contents

Class: CommandProtocol Idle/idle8/RemoteInterp.py

Methods   
__init__
close
decode_seqno
default_handler
dispatch
encode_seqno
get_seqno
registerHandler
reply
send
  __init__ 
__init__ ( self,  sockp )

  close 
close ( self )

  decode_seqno 
decode_seqno ( self,  buf )

  default_handler 
default_handler ( self,  arg )

  dispatch 
dispatch ( self )

Exceptions   
TypeError, "handle_%s: %s" %( cmd, msg )
ValueError, "invalid return type for %s" % cmd
  encode_seqno 
encode_seqno ( self,  seqno )

  get_seqno 
get_seqno ( self )

  registerHandler 
registerHandler ( self,  handler )

A Handler is an object with handle_XXX methods

  reply 
reply ( self,  arg='' )

Send a reply immediately

otherwise reply will be sent when handler returns

  send 
send (
        self,
        cmd,
        arg='',
        seqno=None,
        )


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:14 2003 by HappyDoc version 2.1