internal ServerStream( LoopContext loop, uv_handle_type handleType, params object[] args) : base(loop, handleType, args) { }
internal WorkHandle( LoopContext loop, uv_handle_type handleType, params object[] args) : base(loop, handleType, args) { }
internal Udp(LoopContext loop, PooledByteBufferAllocator allocator) : base(loop, uv_handle_type.UV_UDP) { Contract.Requires(allocator != null); this.allocator = allocator; this.pendingRead = new PendingRead(); }
internal StreamHandle( LoopContext loop, uv_handle_type handleType, params object[] args) : base(loop, handleType, args) { this.pipeline = new Pipeline(this); }
internal Udp(LoopContext loop, ByteBufferAllocator allocator) : base(loop, uv_handle_type.UV_UDP) { Contract.Requires(allocator != null); this.allocator = allocator; this.bufferQueue = new BufferQueue(); }
internal Async(LoopContext loop, Action <Async> callback) : base(loop, uv_handle_type.UV_ASYNC) { Contract.Requires(callback != null); this.Callback = state => callback.Invoke((Async)state); this.gate = new Gate(); this.closeScheduled = false; }
internal ScheduleHandle( LoopContext loop, uv_handle_type handleType, object[] args = null) { Contract.Requires(loop != null); HandleContext initialHandle = NativeMethods.Initialize(loop.Handle, handleType, this, args); Debug.Assert(initialHandle != null); this.handle = initialHandle; this.HandleType = handleType; }
internal Udp(LoopContext loop) : this(loop, ByteBufferAllocator.Pooled) { }
internal Pipe(LoopContext loop, bool ipc = false) : base(loop, uv_handle_type.UV_NAMED_PIPE, ipc) { this.ipc = ipc; }
internal Signal(LoopContext loop) : base(loop, uv_handle_type.UV_SIGNAL) { }
internal FSPoll(LoopContext loop) : base(loop, uv_handle_type.UV_FS_POLL) { }
internal Tty(LoopContext loop, TtyType ttyType) : base(loop, uv_handle_type.UV_TTY, ttyType) { this.ttyType = ttyType; }
internal Udp(LoopContext loop) : this(loop, PooledByteBufferAllocator.Default) { }
internal Poll(LoopContext loop, int fd) : base(loop, uv_handle_type.UV_POLL, new object[] { fd }) { }
internal FSEvent(LoopContext loop) : base(loop, uv_handle_type.UV_FS_EVENT) { }
internal Tcp(LoopContext loop) : base(loop, uv_handle_type.UV_TCP) { }
internal Prepare(LoopContext loop) : base(loop, uv_handle_type.UV_PREPARE) { }
internal Check(LoopContext loop) : base(loop, uv_handle_type.UV_CHECK) { }
internal Timer(LoopContext loop) : base(loop, uv_handle_type.UV_TIMER) { }
internal Idle(LoopContext loop) : base(loop, uv_handle_type.UV_IDLE) { }
internal Poll(LoopContext loop, IntPtr handle) : base(loop, uv_handle_type.UV_POLL, new object[] { handle }) { }
public Loop() { this.handle = new LoopContext(); }