Ejemplo n.º 1
0
 public WuSS(IHandshakeResponseFactory handshakeResponseFactory,IMaskingService maskingService,IMessageDecoderFactory messageDecoderFactory)
 {
     _handshakeResponseFactory = handshakeResponseFactory;
     _maskingService = maskingService;
     _messageDecoderFactory = messageDecoderFactory;
     _listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP);
 }
Ejemplo n.º 2
0
 public Hixie76ConnectionHelpers(Hixie76FrameFactory frameFactory, IMaskingService maskingService)
 {
     FrameFactory = frameFactory;
     MaskingService = maskingService;
 }
 public ModelConverter(IMaskingService maskingService)
 {
     _maskingService = maskingService;
 }
Ejemplo n.º 4
0
 public MessageDecoderFactory(IFrameFactory[] frameFactories,IMaskingService maskingService)
 {
     _frameFactories = frameFactories;
     _maskingService = maskingService;
 }
Ejemplo n.º 5
0
 public ClientSocket(Socket clientSocket,byte[] buffer,IMaskingService maskingService)
 {
     _clientSocket = clientSocket;
     _buffer = buffer;
     _maskingService = maskingService;
 }