예제 #1
0
        protected override void InitDelegates()
        {
            base.InitDelegates();

            _allocDelegate    = new uv_alloc_cb(this.OnAlloc);
            _readDelegate     = new uv_read_cb(this.OnRead);
            _writeDelegate    = new uv_write_cb(this.OnWrite);
            _shutdownDelegate = new uv_shutdown_cb(this.OnShutdown);
        }
예제 #2
0
 public extern static int uv_read_start(UvStreamHandle handle,uv_alloc_cb alloc_cb,uv_read_cb read_cb);
예제 #3
0
 public void read_start(UvStreamHandle handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
 {
     handle.Validate();
     Check(_uv_read_start(handle, alloc_cb, read_cb));
 }
예제 #4
0
 static extern int uv_read_start(IntPtr handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb);
예제 #5
0
파일: Uv.cs 프로젝트: yellowhuang/corefxlab
 public void read_start(UvStreamHandle handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
 {
     handle.Validate();
     ThrowIfErrored(_uv_read_start(handle, alloc_cb, read_cb));
 }
예제 #6
0
파일: Imports.cs 프로젝트: gigi81/sharpuv
 internal static extern int uv_read_start(IntPtr stream, uv_alloc_cb alloc_cb, uv_read_cb read);
예제 #7
0
 public void read_start(UvStreamHandle handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
 {
     handle.Validate();
     Check(_uv_read_start(handle, alloc_cb, read_cb));
 }
예제 #8
0
 private int UvReadStart(UvStreamHandle handle, uv_alloc_cb allocCallback, uv_read_cb readCallback)
 {
     AllocCallback = allocCallback;
     ReadCallback  = readCallback;
     return(0);
 }
예제 #9
0
 internal static extern int uv_read_start(IntPtr stream, uv_alloc_cb alloc_cb, uv_read_cb read);         // uv_stream_t*
예제 #10
0
 public extern static int uv_read_start(UvStreamHandle handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb);
예제 #11
0
 static public extern int uv_read_start(LibuvStreamHandle handle,uv_alloc_cb alloc_cb,uv_read_cb read_cb);
예제 #12
0
 static extern int uv_udp_recv_start(IntPtr handle, uv_alloc_cb alloc_cb, uv_udp_recv_cb recv_cb);
예제 #13
0
파일: UvStream.cs 프로젝트: gigi81/sharpuv
        protected override void InitDelegates()
        {
            base.InitDelegates();

            _allocDelegate    = new uv_alloc_cb(this.OnAlloc);
            _readDelegate     = new uv_read_cb(this.OnRead);
            _writeDelegate    = new uv_write_cb(this.OnWrite);
            _shutdownDelegate = new uv_shutdown_cb(this.OnShutdown);
        }
예제 #14
0
파일: Udp.cs 프로젝트: Gscienty/AsyncIO.Net
 unsafe internal static extern int uv_udp_recv_start(Udp handle, uv_alloc_cb allocCallback, uv_udp_recv_cb recvCallback);
예제 #15
0
 public void read_start(UvStreamHandle handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb)
 {
     handle.Validate();
     ThrowIfErrored(_uv_read_start(handle, alloc_cb, read_cb));
 }