def shutdown_req(self, context): context.request.send_req(None, GameInstanceServerPDUCodec.disconnect_pdu()) context.request.shutdown_req()
def disconnect_req(self, context): context.request.send_req(None, GameInstanceServerPDUCodec.disconnect_pdu()) context.request.disconnect_req(None) context.state = context.DISCONNECTED