Package ZenUtils :: Module DotNetCommunication :: Class DotNetSession
[hide private]
[frames] | no frames]

Class DotNetSession

source code

object --+
         |
        DotNetSession

A cookie-enabled http client that can log in to and retrieve data from Zenoss.net.

Instance Methods [hide private]
 
__init__(self)
Set up the cookie jar.
source code
 
open(self, url, params={})
Wrapper for the opener that encodes the query string.
source code
 
login(self, username, password)
Log in to Zenoss.net.
source code
 
retrieve(self, url, params={})
Open a url within the session and return the response data.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Set up the cookie jar.
Overrides: object.__init__