protected FFTransReceiver(FFTransceiverArgs arg, IExecutorService executorService) : base(executorService) { _arg = arg; this.Initialize(); // receive from socket new Thread(new ThreadStart(OnListenReceiveFromSocket)) { IsBackground = true, }.Start(); }
public FFTransReceiver_SQLite(FFTransceiverArgs arg, IExecutorService executorService) : base(arg, executorService) { // create a listener thread and do the receive processing // create a new thread to receive from sqlite db }
public FFTransReceiver_InMemory(FFTransceiverArgs arg, IExecutorService executorService) : base(arg, executorService) { // create a listener thread and do the receive processing _queue = ProducerConsumerQueueFactory.Create <UdpFreeformEntity>(executorService, -1); }
public FFTransReceiver_InMemory(FFTransceiverArgs arg, IExecutorService executorService) : base(arg, executorService) { // create a listener thread and do the receive processing _queue = ProducerConsumerQueueFactory.Create<UdpFreeformEntity>(executorService, -1); }