Re: [Opentnl-general] How do I get notified about new connections or dropped connections?
Brought to you by:
mark_frohnmayer,
s_alanet
From: Mark F. <mar...@gm...> - 2008-03-27 00:09:03
|
You can use the TNL_IMPLEMENT_NETCONNECTION macro -- lets you specify which net class groups will be active for the connection, as well as whether the NetInterface should allow remote connections of that type. On Tue, Mar 25, 2008 at 2:10 PM, Marc Rochel <mar...@ud...> wrote: > Hi ! > > I see that NetConnection has some onXXX methods that I can overwrite. But > how do I tell my server NetInterface to use my subclassed NetConnection > instead of the normal one? In TNLTest, NetInterface is subclassed as well as > GhostConnection, but TestNetInterface doesn't use TestGhostConnection > anywhere. So how does this work? How does TestNetInterface know that upon a > connection attempt, it has to create a TestGhostConnection instead of a > normal GhostConnection or EventConnection? It has to be specified somewhere > but I can't find it. > > Best regards > Marc > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Opentnl-general mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opentnl-general > > |