'Send a cancel-order message to the community'

def send_cancel_order(self, order):

    assert isinstance(order, Order), type(order)
    message_id = self.order_book.message_repository.next_identity()
    meta = self.get_meta_message(u'cancel-order')
    message = meta.impl(authentication=(self.my_member,), distribution=(self.claim_global_time(),), payload=(message_id.trader_id, message_id.message_number, Timestamp.now(), order.order_id.order_number, Ttl.default()))
    self.dispersy.store_update_forward([message], True, False, True)
