Returns the array of channel ids for the policy.
@return The array of channel ids
1834
public long[] getChannelIdArray()
    {
        long[] ret = new long[channelIds.size()];
        for(int i = 0; i < channelIds.size(); i++)
            ret[i] = channelIds.get(i);
        return ret;
    }
374782
public List<String> getDeviceIDs() {
        final List<String> ids = new ArrayList<>();
        for (final File deviceDir : getDeviceDirs()) {
            ids.add(deviceDir.getName());
        }
        /*
         * //for (final W1Device device: devices) { ids.add(device.getId());
         */
        return ids;
    }
556532
public List<ChannelInformation> listChannels() {
        LinkedList<ChannelInformation> entries = new LinkedList<ChannelInformation>();
        Collection<Broadcaster> broadcasters = BroadcasterFactory.getDefault().lookupAll();
        String name;
        for (Broadcaster broadcaster : broadcasters) {
            if (broadcaster instanceof BounceProxyBroadcaster) {
                name = ((BounceProxyBroadcaster) broadcaster).getName();
            } else {
                name = broadcaster.getClass().getSimpleName();
            }

            Integer cachedSize = null;
            entries.add(new ChannelInformation(name, broadcaster.getAtmosphereResources().size(), cachedSize));
        }

        return entries;
    }
964909
public List<ChannelInfo> getChannels() {
    final URI uri = uriWithPath("./channels/");
    return Arrays.asList(this.rt.getForObject(uri, ChannelInfo[].class));
  }
110993
@Override
    public List<Channel> getChannels()
    {
        List<Channel> channels = new LinkedList<>();
        if (_acceptingParty != null)
            channels.add(_acceptingParty);
        if (_originatingParty != null)
            channels.add(_originatingParty);
        if (_transferTargetParty != null)
            channels.add(_transferTargetParty);
        return channels;
    }
707947
public Set<String> getChannelNames() {
        Set<String> ret = Collections.EMPTY_SET;

        JsonObject channels = getJsonObject(jsonConfig, "channels");
        if (channels != null) {
            final Set<String> channelNames = channels.keySet();
            if (channelNames != null && !channelNames.isEmpty()) {
                ret = new HashSet<>(channelNames);
            }
        }
        return ret;
    }
1252471
public List<String> getChannels() {
        if (filterParams == null || filterParams.isEmpty()) {
            return new ArrayList<String>();
        }
        String params = (String) filterParams.get(CHANNELS_QUERY_PARAM);
        if (!isPull() || getFilter() == null || !BY_CHANNEL_FILTER_NAME.equals(getFilter()) || params == null || params.isEmpty()) {
            return new ArrayList<String>();
        }
        String[] paramsArray = params.split(",");
        return new ArrayList<String>(Arrays.asList(paramsArray));
    }
204990
public String[] getIdentifiers()
	{
		final PerSessionInfo[] infos;
		synchronized (sessions)
		{
			infos = (PerSessionInfo[]) sessions.values().toArray(new PerSessionInfo[sessions.size()]);
		}
		int count = 0;
		for (int i = 0; i < infos.length; ++i)
		{
			if (infos[i] != null && infos[i].identifier != null)
			{
				++count;
			}
		}
		if (count > 0)
		{
			final String[] result = new String[count];
			int index = 0;
			for (int i = 0; i < infos.length; ++i)
			{
				if (infos[i] != null && infos[i].identifier != null)
				{
					result[index++] = infos[i].identifier;
				}
			}
			return result;
		} else
		{
			return null;
		}
	}
162944
public function broadcastOn()
    {
        $channels = $this->notification->broadcastOn();

        if (! empty($channels)) {
            return $channels;
        }

        $channel = 'private-' .$this->channelName();

        return array($channel);
    }
473260
public java.util.List<String> getNetworkInterfacePermissionIds() {
        if (networkInterfacePermissionIds == null) {
            networkInterfacePermissionIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return networkInterfacePermissionIds;
    }
197364
public java.util.List<OpenIDConnectProviderListEntry> getOpenIDConnectProviderList() {
        if (openIDConnectProviderList == null) {
            openIDConnectProviderList = new com.amazonaws.internal.SdkInternalList<OpenIDConnectProviderListEntry>();
        }
        return openIDConnectProviderList;
    }
237962
public java.util.Map<String, String> getPolicies() {
        if (policies == null) {
            policies = new com.amazonaws.internal.SdkInternalMap<String, String>();
        }
        return policies;
    }
262224
public java.util.List<String> getNetworkInterfaceIds() {
        if (networkInterfaceIds == null) {
            networkInterfaceIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return networkInterfaceIds;
    }
1036014
public java.util.List<String> getPolicyNames() {
        if (policyNames == null) {
            policyNames = new com.ibm.cloud.objectstorage.internal.SdkInternalList<String>();
        }
        return policyNames;
    }
1201614
public java.util.List<String> getLayerIds() {
        if (layerIds == null) {
            layerIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return layerIds;
    }
277871
public java.util.List<String> getIds() {
        if (ids == null) {
            ids = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return ids;
    }
424625
public function getChannelVariables()
    {
        if ($this->channelVariablesInstance === false) {
            $this->channelVariablesInstance = new ChannelVariablesFacade(
                $this->variables,
                $this->arguments
            );
        }
        return $this->channelVariablesInstance;
    }