docs/examples/multiplexing_client.py
def _connected(client):
    """
    Connected to AMP server, start listening locally, and give the AMP
    client a reference to the local listening factory.
    """
    log.msg("Connected to AMP server, starting to listen locally...")
    localFactory = multiplexing.ProxyingFactory(client, "hello")
    return listeningEndpoint.listen(localFactory)
def _connected(client):
    log.msg("Connected to AMP server, starting to listen locally...")
    localFactory = multiplexing.ProxyingFactory(client, "hello")
    return listeningEndpoint.listen(localFactory)
def _connected ( client ) : log . msg ( "Connected to AMP server, starting to listen locally..." ) localFactory = multiplexing . ProxyingFactory ( client , "hello" ) return listeningEndpoint . listen ( localFactory )
Connected to AMP server, start listening locally, and give the AMP
    client a reference to the local listening factory.
Connected to AMP server start listening locally and give the AMP client a reference to the local listening factory .