docs: @Override
      public int discriminate(VirtualConnection vc, ConnectionLink currentChannel, String inputChannelName) {
          Channel channel = null;
          String channelName = null;
          String matchString = (inputChannelName + ChannelDataImpl.CHILD_STRING);
          int result = FAILURE;
          // Iterate the channels of the current list.
          for (int i = 0; channelList != null && i < channelList.length; i++) {
              channel = channelList[i];
              // Find a channel that starts with the name passed in.
              // Note: Runtime channels are children channel data objects with names
              // like name_CFINTERNAL_CHILD_0
              // This is kept hidden from users.
              channelName = channel.getName();
              if (channelName != null && channelName.startsWith(matchString)) {
                  // Found the channel. Connect the links.
                  ConnectionLink link = channel.getConnectionLink(vc);
                  currentChannel.setApplicationCallback(link);
                  link.setDeviceLink(currentChannel);
                  result = SUCCESS;
                  break;
              }
          }
          return result;
      }