Beispiel #1
0
 internal DefaultKayakSocket(Socket socket, IScheduler scheduler)
 {
     this.id = nextId++;
     this.socket = new SocketWrapper(socket);
     this.scheduler = scheduler;
     state = new KayakSocketState(false);
 }
Beispiel #2
0
 internal DefaultKayakSocket(ISocketWrapper socket, IScheduler scheduler)
 {
     this.id        = nextId++;
     this.socket    = socket;
     this.scheduler = scheduler;
     state          = new KayakSocketState(false);
 }
Beispiel #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);
 }
Beispiel #4
0
 internal DefaultKayakSocket(ISocketDelegate del, IScheduler scheduler)
 {
     this.scheduler = scheduler;
     this.del = del;
     state = new KayakSocketState(true);
 }
Beispiel #5
0
 internal DefaultKayakSocket(ISocketDelegate del, IScheduler scheduler)
 {
     this.scheduler = scheduler;
     this.del       = del;
     state          = new KayakSocketState(true);
 }
Beispiel #6
0
 public KayakSocket(ISocketDelegate del, IScheduler scheduler)
 {
     this.scheduler = scheduler;
     this.del = del;
     state = new KayakSocketState(true);
 }