@Override
	public void run() {
		while (!stop) {
			try {
				processBindQ();
				processUbindQ();
				int count = this.selector.select(TIME_OUT);
				if (count == 0) {
					continue;
				}
				Set<SelectionKey> ready = selector.selectedKeys();
				Iterator<SelectionKey> iterator = ready.iterator();
				while (iterator.hasNext()) {
					SelectionKey key = (SelectionKey) iterator.next();
					iterator.remove();
					acceptKey(key);
				}
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
	}