Beispiel #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);
        }
Beispiel #2
0
 public extern static int uv_read_start(UvStreamHandle handle,uv_alloc_cb alloc_cb,uv_read_cb read_cb);
Beispiel #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));
 }
Beispiel #4
0
 static extern int uv_read_start(IntPtr handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb);
Beispiel #5
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));
 }
Beispiel #6
0
 internal static extern int uv_read_start(IntPtr stream, uv_alloc_cb alloc_cb, uv_read_cb read);
Beispiel #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));
 }
Beispiel #8
0
 private int UvReadStart(UvStreamHandle handle, uv_alloc_cb allocCallback, uv_read_cb readCallback)
 {
     AllocCallback = allocCallback;
     ReadCallback  = readCallback;
     return(0);
 }
Beispiel #9
0
 internal static extern int uv_read_start(IntPtr stream, uv_alloc_cb alloc_cb, uv_read_cb read);         // uv_stream_t*
Beispiel #10
0
 public extern static int uv_read_start(UvStreamHandle handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb);
Beispiel #11
0
 static public extern int uv_read_start(LibuvStreamHandle handle,uv_alloc_cb alloc_cb,uv_read_cb read_cb);
Beispiel #12
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);
        }
Beispiel #13
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));
 }