All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.clustering.jgroups.ChannelFactory Maven / Gradle / Ivy

The newest version!
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */
package org.wildfly.clustering.jgroups;

import org.jgroups.JChannel;

/**
 * Factory for creating JGroups channels.
 * @author Paul Ferraro
 */
public interface ChannelFactory {
    /**
     * Creates a JGroups channel
     * @param id the unique identifier of this channel
     * @return a JGroups channel
     * @throws Exception if there was a failure setting up the protocol stack
     */
    JChannel createChannel(String id) throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy