Exemplo n.º 1
0
 internal DefaultKayakSocket(Socket socket, IScheduler scheduler)
 {
     this.id = nextId++;
     this.socket = new SocketWrapper(socket);
     this.scheduler = scheduler;
     state = new KayakSocketState(false);
 }
Exemplo n.º 2
0
 internal DefaultKayakSocket(ISocketWrapper socket, IScheduler scheduler)
 {
     this.id        = nextId++;
     this.socket    = socket;
     this.scheduler = scheduler;
     state          = new KayakSocketState(false);
 }
Exemplo n.º 3
0
 internal DefaultKayakSocket(ISocketWrapper socket, IScheduler scheduler)
 {
     this.ID = Interlocked.Increment(ref s_NextId);
     this.m_Socket = socket;
     this.m_Scheduler = scheduler;
     m_State = new KayakSocketState(false);
 }
Exemplo n.º 4
0
 internal DefaultKayakSocket(ISocketDelegate del, IScheduler scheduler)
 {
     this.scheduler = scheduler;
     this.del = del;
     state = new KayakSocketState(true);
 }
Exemplo n.º 5
0
 internal DefaultKayakSocket(ISocketDelegate del, IScheduler scheduler)
 {
     this.scheduler = scheduler;
     this.del       = del;
     state          = new KayakSocketState(true);
 }
Exemplo n.º 6
0
 public KayakSocket(ISocketDelegate del, IScheduler scheduler)
 {
     this.scheduler = scheduler;
     this.del = del;
     state = new KayakSocketState(true);
 }