docs: public synchronized void setChannel(DatagramChannel channel, UDPNetworkLayer udpNetworkLayer) throws IOException {
  
          int interestOps = 0;
          if (udpNetworkLayer.getUDPChannel().getConfig().isInboundChannel()) {
              interestOps = SelectionKey.OP_READ;
          }
  
          NIOChannelModRequest request = new NIOChannelModRequest(NIOChannelModRequest.ADD_REQUEST, channel, interestOps, udpNetworkLayer);
          synchronized (channelModList) {
              channelModList.add(request);
          }
          synchronized (channelRequestingToBeAddedRemovedSync) {
              channelRequestingToBeAddedRemoved = true;
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(this, tc, "Adding channel for port: " + channel.socket().getLocalPort() + " to WQM : " + hashCode());
          }
  
          selector.wakeup();
      }