Package sqs :: Module parsers
[hide private]
[frames] | no frames]

Module parsers

source code

Functions [hide private]
SQSError parseError(xml)
Parse the response XML if error occured, and creates an SQSError exception.
list parseQueueList(xml, connection)
Parse the response XML for listing queues
SQSQueue parseQueueCreation(xml, connection)
Parse the response XML returned on queue creation
  parseTimeout(xml)
  parseMessageCreate(xml)
  parseMessageRead(xml)
  parseMessagesRead(xml)

Variables [hide private]
  xmlns = 'http://queue.amazonaws.com/doc/2006-04-01/'

Function Details [hide private]

parseError(xml)

source code 
Parse the response XML if error occured, and creates an SQSError exception.
Parameters:
  • xml (string) - The XML error response
Returns: SQSError
Returns the SQSError exception

parseQueueList(xml, connection)

source code 
Parse the response XML for listing queues
Parameters:
  • xml (string) - The XML response
  • connection (SQSConnection) - SQSConnection to the server
Returns: list
List of queues

parseQueueCreation(xml, connection)

source code 
Parse the response XML returned on queue creation
Parameters:
  • xml (string) - The XML response
  • connection (SQSConnection) - SQSConnection to the server
Returns: SQSQueue
Newly created queue

parseTimeout(xml)

source code 
None

parseMessageCreate(xml)

source code 
None

parseMessageRead(xml)

source code 
None

parseMessagesRead(xml)

source code 
None

Variables Details [hide private]

xmlns

None
Value:
'http://queue.amazonaws.com/doc/2006-04-01/'