def create_receiver(self, target_address, source_address=None,<EOL>event_handler=None, name=None, properties=None):
ident = name or str(target_address)<EOL>if ident in self._receiver_links:<EOL><INDENT>raise KeyError("<STR_LIT>" % ident)<EOL><DEDENT>session = _SessionProxy("<STR_LIT>" % ident, self)<EOL>session.open()<EOL>rl = session.new_receiver(ident)<EOL>rl.configure(target_address, source_address, event_handler, properties)<EOL>self._receiver_links[ident] = rl<EOL>return rl<EOL>
Factory method for creating Receive links.