internal Connection(Socket socket, Configuration configuration) { raiser = new CommandRaiser(); transport = new Transport(socket, raiser); this.configuration = configuration; receive = Task.Run(() => Receive()); }
public Transport(Socket socket, CommandRaiser raiser) { this.socket = socket; this.raiser = raiser; }