Waits for a reply from the server, blocking the client process in the meantime.
void wait()
If wait is used on a synchronous flow object, a syncType exception is raised.