예제 #1
0
 public UDPOutput(ConcurrentLinkedQueue inputQueue, Selector selector, LocalVPNService vpnService)
 {
     this.inputQueue   = inputQueue;
     this.selector     = selector;
     this.vpnService   = vpnService;
     this.channelCache = new LRUChannelCache(this, MAX_CACHE_SIZE);
 }
예제 #2
0
 public TCPOutput(ConcurrentLinkedQueue inputQueue, ConcurrentLinkedQueue outputQueue,
                  Selector selector, LocalVPNService vpnService)
 {
     this.inputQueue  = inputQueue;
     this.outputQueue = outputQueue;
     this.selector    = selector;
     this.vpnService  = vpnService;
 }