/** * Populates the state of this {@code Message} with information received via its socket */ public void receive() throws IOException { receiveWithHeaderReadTimeout(NO_HEADER_READ_TIMEOUT); }
message.receiveWithHeaderReadTimeout(500);
clientMessage.receiveWithHeaderReadTimeout(headerReadTimeout);