Example #1
0
 internal UVStream(Loop loop, IntPtr handle)
     : base(loop, handle)
 {
     read_cb_unix = read_callback_u;
     read_cb_win = read_callback_w;
     stream = (uv_stream_t *)(handle.ToInt64() + Handle.Size(HandleType.UV_HANDLE));
 }
Example #2
0
 internal UVStream(Loop loop, IntPtr handle)
     : base(loop, handle)
 {
     read_cb_unix = read_callback_u;
     read_cb_win  = read_callback_w;
     stream       = (uv_stream_t *)(handle.ToInt64() + Handle.Size(HandleType.UV_HANDLE));
 }
Example #3
0
 protected UVStream(UVLoop loop, HandleType type) : base(loop, type)
 {
     _stream = (uv_stream_t *)(Handle.ToInt64() + GetSize(HandleType.UV_HANDLE));
 }
Example #4
0
 internal UVStream(Loop loop, IntPtr handle)
     : base(loop, handle)
 {
     stream = (uv_stream_t *)(handle.ToInt64() + Handle.Size(HandleType.UV_HANDLE));
 }
Example #5
0
 protected UVStream(UVLoop loop, HandleType type)
     : base(loop, type)
 {
     _stream = (uv_stream_t*)(Handle.ToInt64() + GetSize(HandleType.UV_HANDLE));
 }