Package paramiko :: Module message :: Class Message
[show private | hide private]
[frames | no frames]

Class Message

object --+
         |
        Message


represents the encoding of an SSH2 message
Method Summary
  __init__(self, content)
  __repr__(self)
  __str__(self)
  add(self, i)
  add_boolean(self, b)
  add_byte(self, b)
  add_bytes(self, b)
  add_int(self, n)
  add_list(self, l)
  add_mpint(self, z)
this only works on positive numbers
  add_string(self, s)
  get_boolean(self)
  get_byte(self)
  get_bytes(self, n)
  get_int(self)
  get_list(self)
  get_mpint(self)
  get_remainder(self)
remaining bytes still unparsed
  get_so_far(self)
bytes that have been parsed
  get_string(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Method Details

add_mpint(self, z)

this only works on positive numbers

get_remainder(self)

remaining bytes still unparsed

get_so_far(self)

bytes that have been parsed

Generated by Epydoc 2.0 on Sun Jan 4 02:33:11 2004 http://epydoc.sf.net