'Return a Deferred that fires with an instance of a wrapper around the
Pika Channel class.'

def channel(self, channel_number=None):

    d = defer.Deferred()
    base_connection.BaseConnection.channel(self, d.callback, channel_number)
    return d.addCallback(TwistedChannel)
