public WebSocketConnection(Socket socket, WebSocketWrapper websocket) { Sender = new Sender(socket, websocket); Receiver = new Receiver(socket, websocket); Sender.Connection = this; Receiver.Connection = this; }
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; }
public WebSocketConnection(WebSocketWrapper websocket) { Sender = new Sender(); Receiver = new Receiver(); Sender.WebSocket = websocket; Receiver.WebSocket = websocket; Sender.Connection = this; Receiver.Connection = this; }
public Sender(Socket socket, WebSocketWrapper websocket) : this(socket) { WebSocket = websocket; }
public Receiver(Socket socket, WebSocketWrapper websocket, SubProtocolModelFactoryWrapper factory) : this(socket, websocket) { Factory = factory; }
public Receiver(Socket socket, WebSocketWrapper websocket) : this(socket) { WebSocket = websocket; }