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;
 }
Esempio n. 2
0
 public Receiver(Socket socket, WebSocketWrapper websocket, SubProtocolModelFactoryWrapper factory) : this(socket, websocket)
 {
     Factory = factory;
 }