in support/gym_remote/bridge.py [0:0]
def configure_client(self):
description = self._recv_message()
assert description['type'] == 'description'
self.configure_channels(description['content'])
for name, channel in self._channels.items():
channel.set_socket(self.connection)
channel.set_base(os.path.join(self.base, name))
return dict(self._channels)