public SocketStream(IOLoop loop, Socket sock) : this(loop) { socket = sock; StartTimeout(); address = ((IPEndPoint)socket.RemoteEndPoint).Address.ToString(); port = ((IPEndPoint)socket.RemoteEndPoint).Port; }
public Socket(IOLoop loop) { if (loop == null) { throw new ArgumentNullException("loop"); } this.loop = loop; }
FileStream(IOLoop loop, System.IO.FileStream stream, int blockSize) { if (loop == null) throw new ArgumentNullException ("loop"); if (stream == null) throw new ArgumentNullException ("stream"); this.loop = loop; this.stream = stream; this.readBuffer = new byte [blockSize]; }
FileStream(IOLoop loop, System.IO.FileStream stream, int blockSize) { if (loop == null) { throw new ArgumentNullException("loop"); } if (stream == null) { throw new ArgumentNullException("stream"); } this.loop = loop; this.stream = stream; this.readBuffer = new byte [blockSize]; }
public ManagedLoop(IOLoop owner) { this.owner = owner; }
public SocketStream(IOLoop loop) { this.loop = loop; }
Socket(IOLoop loop, System.Net.Sockets.Socket socket) : this(loop) { this.socket = socket; this.address = ((IPEndPoint)socket.RemoteEndPoint).Address.ToString(); this.port = ((IPEndPoint)socket.RemoteEndPoint).Port; }