public static SelectorProvider provider() { if (_provider == null) { _provider = new SelectorProvider(); } return(_provider); }
private HashSet <SelectionKey> publicSelectedKeys; // Removal allowed, but not addition protected SelectorImpl(SelectorProvider provider) : base(provider) { keys = new HashSet <SelectionKey>(); selectedKeys = new HashSet <SelectionKey>(); // if (Util.atBugLevel("1.4")) { publicKeys = keys; publicSelectedKeys = selectedKeys; } // else // { // publicKeys = Collections.unmodifiableSet(keys); // publicSelectedKeys = Util.ungrowableSet(selectedKeys); // } }
protected SocketChannel(SelectorProvider provider) : base(provider) { }
protected SocketChannel(SelectorProvider provider, TcpClient socket) : base(provider, socket) { }
protected AbstractSelectableChannel(SelectorProvider _provider, TcpClient socket) : base(socket) { this._provider = _provider; }
protected AbstractSelectableChannel(SelectorProvider _provider) : base() { this._provider = _provider; }
protected AbstractSelector(SelectorProvider provider) { this.provider = provider; }
public SocketChannelImpl(SelectorProvider selectorProvider) : base(selectorProvider) { }
public SocketChannelImpl(SelectorProvider selectorProvider, TcpClient socket) : base(selectorProvider, socket) { }
public WindowsSelectorImpl(SelectorProvider sp) : base(sp) { }