public Pong getPong() throws InterruptedException { Tuple2<MessageState, Pong> reply = pong.get(pingChallenge.getTimeout() + 150); return (reply.first != MessageState.VALID) ? null : reply.second; }
public Pong getPong() throws InterruptedException { Tuple2<MessageState, Pong> reply = pong.get(pingChallenge.getTimeout() + 150); return (reply.first != MessageState.VALID) ? null : reply.second; }