Пример #1
0
 public WebSocketConnection(Socket socket, WebSocketWrapper websocket)
 {
     Sender = new Sender(socket, websocket);
     Receiver = new Receiver(socket, websocket);
     Sender.Connection = this;
     Receiver.Connection = this;
 }
Пример #2
0
 public WebSocketConnection(Socket socket, WebSocketWrapper websocket, SubProtocolModelFactoryWrapper modelfactory)
 {
     Sender = new Sender(socket, websocket);
     Receiver = new Receiver(socket, websocket, modelfactory);
     Sender.Connection = this;
     Receiver.Connection = this;
 }
Пример #3
0
 public WebSocketConnection(Socket socket, WebSocketWrapper websocket, SubProtocolModelFactoryWrapper modelfactory)
 {
     Sender              = new Sender(socket, websocket);
     Receiver            = new Receiver(socket, websocket, modelfactory);
     Sender.Connection   = this;
     Receiver.Connection = this;
 }
Пример #4
0
 public WebSocketConnection(Socket socket, WebSocketWrapper websocket)
 {
     Sender              = new Sender(socket, websocket);
     Receiver            = new Receiver(socket, websocket);
     Sender.Connection   = this;
     Receiver.Connection = this;
 }
Пример #5
0
 public WebSocketConnection(WebSocketWrapper websocket)
 {
     Sender = new Sender();
     Receiver = new Receiver();
     Sender.WebSocket = websocket;
     Receiver.WebSocket = websocket;
     Sender.Connection = this;
     Receiver.Connection = this;
 }
Пример #6
0
 public WebSocketConnection(WebSocketWrapper websocket)
 {
     Sender              = new Sender();
     Receiver            = new Receiver();
     Sender.WebSocket    = websocket;
     Receiver.WebSocket  = websocket;
     Sender.Connection   = this;
     Receiver.Connection = this;
 }
Пример #7
0
 public Sender(Socket socket, WebSocketWrapper websocket) : this(socket)
 {
     WebSocket = websocket;
 }
Пример #8
0
 public Receiver(Socket socket, WebSocketWrapper websocket, SubProtocolModelFactoryWrapper factory) : this(socket, websocket)
 {
     Factory = factory;
 }
Пример #9
0
 public Receiver(Socket socket, WebSocketWrapper websocket) : this(socket)
 {
     WebSocket = websocket;
 }