def _setup_receiver_sync(self):
rl_handler = common.ReceiverCallback()<EOL>receiver = self.conn2.create_receiver("<STR_LIT>", "<STR_LIT:src>", rl_handler)<EOL>receiver.user_context = rl_handler<EOL>receiver.open()<EOL>self.process_connections()<EOL>assert self.conn1_handler.sender_requested_ct == <NUM_LIT:1><EOL>args = self.conn1_handler.sender_requested_args[<NUM_LIT:0>]<EOL>sl_handler = common.SenderCallback()<EOL>sender = self.conn1.accept_sender(args.link_handle,<EOL>event_handler=sl_handler)<EOL>sender.user_context = sl_handler<EOL>sender.open()<EOL>self.process_connections()<EOL>assert sender.active and sl_handler.active_ct > <NUM_LIT:0><EOL>assert receiver.active and rl_handler.active_ct > <NUM_LIT:0><EOL>return (sender, receiver)<EOL>
Create links, initiated by receiver.