示例#1
0
    def __init__(self, *args, **kwargs):
        if 'io_loop' in kwargs:
            self._io_loop = kwargs['io_loop']
            del kwargs['io_loop']
        else:
            self._io_loop = None
        BaseKafka.__init__(self, *args, **kwargs)

        self._stream = None
示例#2
0
    def __init__(self, *args, **kwargs):
        BaseKafka.__init__(self, *args, **kwargs)

        self._socket = None
        self._overflow = ''
        self.total_read = 0
示例#3
0
 def __init__(self, *args, **kwargs):
     BaseKafka.__init__(self, *args, **kwargs)
     
     self._socket = None
     self._overflow = ''
     self.total_read = 0