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