Beispiel #1
0
        bool DataReadyHandler(IntPtr channel, IOCondition condition, IntPtr data)
        {
            var args = new DataReadEventArgs(condition);

            if (data_ready != null)
            {
                data_ready(this, args);
            }

            return(args.Continue);
        }
Beispiel #2
0
        private bool DataReadyHandler(IntPtr channel, IOCondition condition, IntPtr data)
        {
            DataReadEventArgs args = new DataReadEventArgs (condition);
            if (data_ready != null)
                data_ready (this, args);

            return args.Continue;
        }