For remote communication. Sets the communication dispatcher of the host
        at the address and port specified.

        The scheme must be http if using a XMLRPC dispatcher.
        amqp for RabbitMQ communications.

        This methos is internal. Automatically called when creating the host.

        :param str. url: URL where to bind the host. Must be provided in
            the tipical form: 'scheme://address:port/hierarchical_path'

def load_transport(self, url):
        '''
        For remote communication. Sets the communication dispatcher of the host
        at the address and port specified.

        The scheme must be http if using a XMLRPC dispatcher.
        amqp for RabbitMQ communications.

        This methos is internal. Automatically called when creating the host.

        :param str. url: URL where to bind the host. Must be provided in
            the tipical form: 'scheme://address:port/hierarchical_path'
        '''
        aurl = urlparse(url)
        addrl = aurl.netloc.split(':')
        self.addr = addrl[0], addrl[1]
        self.transport = aurl.scheme
        self.host_url = aurl

        if aurl.scheme == 'http':
            self.launch_actor('http', rpcactor.RPCDispatcher(url, self, 'rpc'))

        elif aurl.scheme == 'amqp':
            self.launch_actor('amqp', rpcactor.RPCDispatcher(url, self,
                                                             'rabbit'))