aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java
public static void addMemberStatusPublications(
        final ClusterMember[] members,
        final ClusterMember exclude,
        final ChannelUri channelUri,
        final int streamId,
        final Aeron aeron)
    {
        for (final ClusterMember member : members)
        {
            if (member != exclude)
            {
                channelUri.put(ENDPOINT_PARAM_NAME, member.memberFacingEndpoint());
                member.publication = aeron.addExclusivePublication(channelUri.toString(), streamId);
            }
        }
    }
public static void addMemberStatusPublications(
        final ClusterMember[] members,
        final ClusterMember exclude,
        final ChannelUri channelUri,
        final int streamId,
        final Aeron aeron)
    {
        for (final ClusterMember member : members)
        {
            if (member != exclude)
            {
                channelUri.put(ENDPOINT_PARAM_NAME, member.memberFacingEndpoint());
                member.publication = aeron.addExclusivePublication(channelUri.toString(), streamId);
            }
        }
    }
Add the publications for sending status messages to the other members of the cluster.

@param members    of the cluster.
@param exclude    this member when adding publications.
@param channelUri for the publication.
@param streamId   for the publication.
@param aeron      to add the publications to.