server sending close
Daan Hoogland <[email protected]> Tue, 26 Jul 2005 10:40:43 +0200
| Newsgroups | gmane.network.beep.beepcore.java.general |
|---|---|
| Message-ID | <[email protected]> |
LS, It has come to our attention that in the beepcore-java code the client starting a channel can send a close but not receive one. This can lead to null pointer exceptions when the server closes the channel The way around this is to register a channel listener and look in events whether this event concerns its own channel. Wouldn't it be more efficient to make clients register a listener as they request a channel? This listener would only gets events for its own channel. And shouldn't a client be encouraged to register such a listener by the api? -- <insert value="your favorite astute quote" id="sigquote" /> ----------------------------- Daan Hoogland software architect ----------------------------- [email protected] 0620442544 www.luminis.nl ----------------------------- <or ref="sigquote" /> ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click