Method Summary |
|
__init__ (self,
session)
__init__() is used to set up special SASL data such as certificates,
user dbases, etc. |
|
decodeBlob (self,
data)
decodeBlob() extracts the data from the <blob> section of the
payload data and decodes it from base64. |
|
encodeBlob (self,
data)
encodeBlob() takes the data passed in and returns the appropriate
<blob></blob> structure with base64 encoded data. |
|
parseError (self,
data)
parseError() extracts the error code from the <error> block |
|
parseStatus (self,
data)
parseStatus() extracts the status code from the <blob> block |
Inherited from Profile |
|
mimeDecode (self,
payload)
mimeDecode() is a convenience function used to help make life easier
for profile programmers, like me. |
|
mimeEncode (self,
payload,
contentType,
encoding)
mimeEncode() is a convenience function used to help
make life easier for profile programmers, like me. |
|
processMessage (self,
msg)
processMessage() is called by the Channel to which this profile is
bound. |
|
setChannel (self,
channel)
setChannel() binds this Profile to the Channel it belongs to. |