コード例 #1
0
 public static extern IOCondition g_io_channel_get_buffer_condition(IOChannel channel);
コード例 #2
0
 public static extern uint g_io_channel_get_buffer_size(IOChannel channel);
コード例 #3
0
 public static extern void g_io_channel_set_buffer_size(IOChannel channel, uint size);
コード例 #4
0
 protected static extern uint g_io_add_watch_full(IOChannel channel, int priority, IOCondition condition, IOFunc func, IntPtr user_data, DestroyNotify notify);
コード例 #5
0
 //static extern int g_io_channel_unix_get_fd (IntPtr channel);
 static extern int g_io_channel_unix_get_fd(IOChannel channel);
コード例 #6
0
        public static uint AddWatch(IOChannel channel, IOCondition condition, IOFunc func)
        {
            objs.Add (func);

            return g_io_add_watch (channel.Handle, condition, func, IntPtr.Zero);
        }
コード例 #7
0
			protected static extern uint g_io_add_watch_full (IOChannel channel, int priority, IOCondition condition, IOFunc func, IntPtr user_data, DestroyNotify notify);
コード例 #8
0
			static extern short g_io_channel_set_flags (IOChannel channel, IOFlags flags, IntPtr error);
コード例 #9
0
		static void Init (Connection conn, IOFunc dispatchHandler)
		{
			IOChannel channel = new IOChannel ((int)conn.Transport.SocketHandle);
			IO.AddWatch (channel, IOCondition.In | IOCondition.Hup, dispatchHandler);
		}
コード例 #10
0
			public static extern IOCondition g_io_channel_get_buffer_condition (IOChannel channel);
コード例 #11
0
			public static extern IOFlags g_io_channel_get_flags (IOChannel channel);
コード例 #12
0
			public static extern void g_io_channel_set_buffer_size (IOChannel channel, uint size);
コード例 #13
0
			public static extern uint g_io_channel_get_buffer_size (IOChannel channel);
コード例 #14
0
			//static extern int g_io_channel_unix_get_fd (IntPtr channel);
			static extern int g_io_channel_unix_get_fd (IOChannel channel);
コード例 #15
0
 public static extern IOFlags g_io_channel_get_flags(IOChannel channel);
コード例 #16
0
 protected static extern uint g_io_add_watch(IOChannel channel, IOCondition condition, IOFunc func, IntPtr user_data);
コード例 #17
0
 static extern short g_io_channel_set_flags(IOChannel channel, IOFlags flags, IntPtr error);
コード例 #18
0
        public static uint AddWatch(IOChannel channel, IOCondition condition, IOFunc func)
        {
            objs.Add(func);

            return(g_io_add_watch(channel, condition, func, IntPtr.Zero));
        }
コード例 #19
0
        public static uint AddWatch(IOChannel channel, int priority, IOCondition condition, IOFunc func, DestroyNotify notify)
        {
            objs.Add (func);
            objs.Add (notify);

            return g_io_add_watch_full (channel.Handle, priority, condition, func, IntPtr.Zero, notify);
        }
コード例 #20
0
			protected static extern uint g_io_add_watch (IOChannel channel, IOCondition condition, IOFunc func, IntPtr user_data);