public List<String> removeKeys(String moduleName) {
        List<String> allKeys = new ArrayList<>();
        for (Channel channel : channels) {
            if (moduleName.equals(getModuleName(channel))) {
                allKeys.add(channel.remoteAddress().toString());
            }
        }
        return allKeys;
    }
public List<String> removeKeys(String moduleName) {
        List<String> allKeys = new ArrayList<>();
        for (Channel channel : channels) {
            if (moduleName.equals(getModuleName(channel))) {
                allKeys.add(channel.remoteAddress().toString());
            }
        }
        return allKeys;
    }
public List < String > removeKeys ( String moduleName ) { List < String > allKeys = new ArrayList <> ( ) ; for ( Channel channel : channels ) { if ( moduleName . equals ( getModuleName ( channel ) ) ) { allKeys . add ( channel . remoteAddress ( ) . toString ( ) ) ; } } return allKeys ; }
获取模块的远程标识keys

@param moduleName 模块名称
@return remoteKeys
获取模块的远程标识keys