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); }
public extern static int uv_read_start(UvStreamHandle handle,uv_alloc_cb alloc_cb,uv_read_cb read_cb);
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)); }
static extern int uv_read_start(IntPtr handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb);
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)); }
internal static extern int uv_read_start(IntPtr stream, uv_alloc_cb alloc_cb, uv_read_cb read);
private int UvReadStart(UvStreamHandle handle, uv_alloc_cb allocCallback, uv_read_cb readCallback) { AllocCallback = allocCallback; ReadCallback = readCallback; return(0); }
internal static extern int uv_read_start(IntPtr stream, uv_alloc_cb alloc_cb, uv_read_cb read); // uv_stream_t*
public extern static int uv_read_start(UvStreamHandle handle, uv_alloc_cb alloc_cb, uv_read_cb read_cb);
static public extern int uv_read_start(LibuvStreamHandle handle,uv_alloc_cb alloc_cb,uv_read_cb read_cb);