Example #1
0
 private Server()
 {
     _asynchronousSocketListener = new AsynchronousSocketListener();
 }
 public OutgoingDataProcessor(AsynchronousSocketListener asynchronousSocketListener)
 {
     _asynchronousSocketListener = asynchronousSocketListener;
     _cancellationTokenSource    = new CancellationTokenSource();
     _processorThread            = new Thread(OutgoingDataProcessingThread);
 }