Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11593

Re: primitive to wait for a packet and terminate connection on timeout

$
0
0

I think it would be better to have a (atomic)boolean

How do you know that there was nor a positive or negative reponse with just a boolean? The problem is what Object.wait() hasn't an mechanism to tell us that it timed out, that's why I suggested the tri-state variable.


Viewing all articles
Browse latest Browse all 11593

Trending Articles