Package dtest :: Class LocalSessionHandler
[show private | hide private]
[frames | no frames]

Type LocalSessionHandler

    object --+    
             |    
SessionHandler --+
                 |
                LocalSessionHandler


A Local DTest session handler which may run command through a local pty connection
Method Summary
  __init__(self)
  close(self)
Close the session.
  getFile(self, sourcePath, destinationPath)
  open(self, *args, **kwargs)
Open the session
  putFile(self, sourcePath, destinationPath)
  recv(self, size, buffer)
  recv_ready(self)
  send(self, string)
Send a string to the session
  sendall(self, string)
  updateEnviron(self, environ)
Update the environment
    Inherited from SessionHandler
  openIfNotOpened(self)
Open the session if it is not already opened.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Property Summary
    Inherited from SessionHandler
  lastReceive
  lastSent

Class Variable Summary
    Inherited from SessionHandler
Formatter fmt = <logging.Formatter instance at 0xb7c2496c>
Logger logger = <logging.Logger instance at 0xb7c24cac>
StreamHandler sh = <logging.StreamHandler instance at 0xb7c24c4c>

Method Details

close(self)

Close the session.
Overrides:
dtest.SessionHandler.close (inherited documentation)

open(self, *args, **kwargs)

Open the session
Overrides:
dtest.SessionHandler.open (inherited documentation)

send(self, string)

Send a string to the session
Overrides:
dtest.SessionHandler.send (inherited documentation)

updateEnviron(self, environ)

Update the environment
Overrides:
dtest.SessionHandler.updateEnviron (inherited documentation)

Generated by Epydoc 2.1 on Wed Jun 13 18:12:48 2007 http://epydoc.sf.net