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