internal void Destroy(QSocket socket) { this.OpeningSockets.Remove(socket); if (this.OpeningSockets.Count != 0) { return; } this.Close(); }
public QSocket Socket(string nsp) { if (this.Nsps.ContainsKey(nsp)) { return(this.Nsps[nsp]); } QSocket socket = new QSocket(this, nsp); this.Nsps = this.Nsps.Add(nsp, socket); return(socket); }
public AckImp(QSocket socket, int id) { this.socket = socket; this.Id = id; }