internal UdpSocketInstance(IntPtr handle, CompletionWorker worker) { this.handle = handle; this.worker = worker; this.worker.Add(handle); }
public SocketFactory(CompletionWorker worker) { using (new Socket(SocketType.Stream, ProtocolType.Tcp)) { this.worker = worker; } }
internal TcpSocketInstance(IntPtr handle, CompletionWorker worker) { this.handle = handle; this.worker = worker; }
public FileFactory(CompletionWorker worker) { this.worker = worker; }
public TrackerGetBuilder WithWorker(CompletionWorker worker) { dependencies.Worker = worker; return(this); }
public TcpSocketAcceptRoutine(IntPtr handle, CompletionWorker worker) { this.handle = handle; this.worker = worker; }
public TcpSocketConnectRoutine(IntPtr handle, CompletionWorker worker, IPEndPoint endpoint) { this.handle = handle; this.worker = worker; this.endpoint = endpoint; }
public FileInstance(IntPtr handle, CompletionWorker worker) { this.handle = handle; this.worker = worker; }
public NetworkPoolBuilder WithWorker(CompletionWorker worker) { dependencies.Completion = worker; return(this); }