protected override bool DoSetClient (CFStreamCallback callback, CFIndex eventTypes,
		                                     IntPtr context)
		{
			return CFReadStreamSetClient (Handle, eventTypes, callback, context);
		}
		extern static CFIndex CFReadStreamRead (IntPtr handle, IntPtr buffer, CFIndex count);
		extern static bool CFHTTPMessageAppendBytes (IntPtr message, ref byte[] newBytes, CFIndex numBytes);
		static extern bool CFReadStreamSetClient (IntPtr stream, CFIndex eventTypes,
		                                          CFStreamCallback cb, IntPtr context);
Example #5
0
        protected abstract bool DoSetClient(CFStreamCallback callback, CFIndex eventTypes,
		                                     IntPtr context);
Example #6
0
 extern static CFMutableSetRef CFSetCreateMutable(CFAllocatorRef allocator,
                                                  CFIndex capacity,
                                                  [MarshalAs(UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);
Example #7
0
 extern static IntPtr CFDataCreate(IntPtr allocator, IntPtr bytes, CFIndex len);
Example #8
0
 protected override bool DoSetClient(CFStreamCallback callback, CFIndex eventTypes,
                                     IntPtr context)
 {
     return(CFWriteStreamSetClient(Handle, eventTypes, callback, context));
 }
Example #9
0
		extern static CFMutableSetRef CFSetCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFSetRef theSet);
Example #10
0
 extern static CFIndex CFReadStreamRead(IntPtr handle, IntPtr buffer, CFIndex count);
Example #11
0
		extern static CFMutableSetRef CFSetCreateMutable(CFAllocatorRef allocator,
		                                                 CFIndex capacity,
		                                                 [MarshalAs (UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);
Example #12
0
		extern static CFSetRef CFSetCreate (CFAllocatorRef allocator,
		                                    [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)][In] IntPtr[] values,
		                                    CFIndex numValues,
		                                    [MarshalAs (UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);
Example #13
0
 extern static CFMutableSetRef CFSetCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFSetRef theSet);
Example #14
0
 static extern IntPtr CFDataCreate(IntPtr allocator, IntPtr bytes, CFIndex len);
Example #15
0
 extern static void CFStreamCreateBoundPair(IntPtr alloc, out IntPtr readStream, out IntPtr writeStream, CFIndex transferBufferSize);
Example #16
0
 static extern bool CFWriteStreamSetClient(IntPtr stream, CFIndex eventTypes,
                                           CFStreamCallback cb, IntPtr context);
Example #17
0
 protected abstract bool DoSetClient(CFStreamCallback callback, CFIndex eventTypes,
                                     IntPtr context);
Example #18
0
 static extern CFIndex CFWriteStreamWrite(IntPtr handle, IntPtr buffer, CFIndex count);
		static extern CFIndex CFWriteStreamWrite (IntPtr handle, IntPtr buffer, CFIndex count);
Example #20
0
 static extern void CFStreamCreateBoundPair(IntPtr alloc, out IntPtr readStream, out IntPtr writeStream, CFIndex transferBufferSize);
Example #21
0
 extern static CFSetRef CFSetCreate(CFAllocatorRef allocator,
                                    [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)][In] IntPtr[] values,
                                    CFIndex numValues,
                                    [MarshalAs(UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);