Example #1
0
 public unsafe void write(UvWriteReq req, UvStreamHandle handle, Libuv.uv_buf_t* bufs, int nbufs, uv_write_cb cb)
 {
     req.Validate();
     handle.Validate();
     Check(_uv_write(req, handle, bufs, nbufs, cb));
 }
Example #2
0
 public void shutdown(UvShutdownReq req, UvStreamHandle handle, uv_shutdown_cb cb)
 {
     req.Validate();
     handle.Validate();
     Check(_uv_shutdown(req, handle, cb));
 }
Example #3
0
 public int try_write(UvStreamHandle handle, Libuv.uv_buf_t[] bufs, int nbufs)
 {
     handle.Validate();
     return Check(_uv_try_write(handle, bufs, nbufs));
 }
Example #4
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));
 }
Example #5
0
 public void read_stop(UvStreamHandle handle)
 {
     handle.Validate();
     Check(_uv_read_stop(handle));
 }
Example #6
0
 public void accept(UvStreamHandle server, UvStreamHandle client)
 {
     server.Validate();
     client.Validate();
     Check(_uv_accept(server, client));
 }
Example #7
0
 public void listen(UvStreamHandle handle, int backlog, uv_connection_cb cb)
 {
     handle.Validate();
     Check(_uv_listen(handle, backlog, cb));
 }
Example #8
0
 unsafe public void write2(UvRequest req, UvStreamHandle handle, Libuv.uv_buf_t *bufs, int nbufs, UvStreamHandle sendHandle, uv_write_cb cb)
 {
     req.Validate();
     handle.Validate();
     Check(_uv_write2(req, handle, bufs, nbufs, sendHandle, cb));
 }
Example #9
0
 public void shutdown(UvShutdownReq req, UvStreamHandle handle, uv_shutdown_cb cb)
 {
     req.Validate();
     handle.Validate();
     Check(_uv_shutdown(req, handle, cb));
 }
Example #10
0
 public void read_stop(UvStreamHandle handle)
 {
     handle.Validate();
     Check(_uv_read_stop(handle));
 }
Example #11
0
 public int try_write(UvStreamHandle handle, uv_buf_t[] bufs, int nbufs)
 {
     handle.Validate();
     return(Check(_uv_try_write(handle, bufs, nbufs)));
 }
Example #12
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));
 }
Example #13
0
 public void accept(UvStreamHandle server, UvStreamHandle client)
 {
     server.Validate();
     client.Validate();
     Check(_uv_accept(server, client));
 }
Example #14
0
 public void listen(UvStreamHandle handle, int backlog, uv_connection_cb cb)
 {
     handle.Validate();
     Check(_uv_listen(handle, backlog, cb));
 }
Example #15
0
 unsafe public void write(UvWriteReq req, UvStreamHandle handle, Libuv.uv_buf_t *bufs, int nbufs, uv_write_cb cb)
 {
     req.Validate();
     handle.Validate();
     Check(_uv_write(req, handle, bufs, nbufs, cb));
 }
Example #16
0
 unsafe public void write2(UvRequest req, UvStreamHandle handle, Libuv.uv_buf_t* bufs, int nbufs, UvStreamHandle sendHandle, uv_write_cb cb)
 {
     req.Validate();
     handle.Validate();
     Check(_uv_write2(req, handle, bufs, nbufs, sendHandle, cb));
 }