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); }
public TCPOutput(ConcurrentLinkedQueue inputQueue, ConcurrentLinkedQueue outputQueue, Selector selector, LocalVPNService vpnService) { this.inputQueue = inputQueue; this.outputQueue = outputQueue; this.selector = selector; this.vpnService = vpnService; }