':param str value: hostname or ip address of broker'

@host.setter
def host(self, value):

    if (not isinstance(value, basestring)):
        raise TypeError(('host    must    be    a    str    or    unicode    str,    but    got    %r' % (value,)))
    self._host = value
