quarry.net.protocol.Protocol.__init__

Here are the examples of the python api quarry.net.protocol.Protocol.__init__ taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

Example 1

Project: quarry Source File: client.py
Function: init
    def __init__(self, factory, remote_addr):
        Protocol.__init__(self, factory, remote_addr)

Example 2

Project: quarry Source File: server.py
Function: init
    def __init__(self, factory, remote_addr):
        Protocol.__init__(self, factory, remote_addr)
        self.server_id    = crypto.make_server_id()
        self.verify_token = crypto.make_verify_token()