def recv_method(self, method, params, id_, randomSeed=None):
if randomSeed is not None:<EOL><INDENT>this.random_streams.random_seed = randomSeed<EOL>this.alea_random = alea.Alea(randomSeed)<EOL><DEDENT>self.api.method(method, params, id_)<EOL>self.reply('<STR_LIT>', methods=[id_])<EOL>
DDP method handler.