Mercurial > pidgin
view plugins/mono/api/Event.cs @ 12767:53218d758ba9
[gaim-migrate @ 15114]
Make the dns lookup for udp connecting asynchronous. Thomas pointed out that it should be instantaneous anyway because the SRV lookup that has just been done, but this'll avoid blocking if the SRV lookup failed or something.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 08 Jan 2006 22:09:28 +0000 |
parents | a3302d271199 |
children |
line wrap: on
line source
using System; namespace Gaim { public class Event { private IntPtr handle; private string signal; public Event(IntPtr h, string s) { handle = h; signal = s; } public void connect(object plugin, Signal.Handler handler) { Signal.connect(handle, plugin, signal, handler); } } }