The guzzoni module

The guzzoni module contains the necessary classes for creating a concrete connection which is responsible for managing the connection between pysiriproxy and the Guzzoni web server.

The _Guzzoni class

Inheritance diagram of pysiriproxy.connections.guzzoni._Guzzoni

class pysiriproxy.connections.guzzoni._Guzzoni(logger)[source]

The _Guzzoni class manages a connection to the Apple Guzzoni server which proceses Siri requests and responds accordingly.

connectionMade()[source]

Called when the connection has been made successfully.

receiveObject(obj)[source]

Called when an object has been received.

  • obj – The received object

The ClientTLSContext class

Inheritance diagram of pysiriproxy.connections.guzzoni.ClientTLSContext

class pysiriproxy.connections.guzzoni.ClientTLSContext[source]

The ClientTLSContext class creates a concrete factory class responsible for creating a client connection.

getContext()[source]

Get the context for this client connection.

isClient

Indicate that this is a client connection.

The _Factory class

Inheritance diagram of pysiriproxy.connections.guzzoni._Factory

class pysiriproxy.connections.guzzoni._Factory(logger=None)[source]

The _Factory class is responsible for creating a _Guzzoni connection. This class implements the ReconnectingClientFactory so that it will attempt to reconnect in the event that the connection is lost.

buildProtocol(_addr)[source]

Build the protocol for the _Guzzoni connection.

  • _addr – The address

Table Of Contents

Previous topic

The iphone module

Next topic

The constants module

This Page