def _send_method(self, method_sig, args=bytes(), content=None):
        """
        Send a method for our channel.

        """
        if isinstance(args, AMQPWriter):
            args = args.getvalue()

        self.connection.method_writer.write_method(self.channel_id,
            method_sig, args, content)
def _send_method ( self , method_sig , args = bytes ( ) , content = None ) : if isinstance ( args , AMQPWriter ) : args = args . getvalue ( ) self . connection . method_writer . write_method ( self . channel_id , method_sig , args , content )
Send a method for our channel.