public final class JGroupsBroadcastGroupConfiguration extends Object implements BroadcastEndpointFactoryConfiguration, DiscoveryGroupConfigurationCompatibilityHelper
Note only one JChannel is needed in a VM. To avoid the channel being prematurely disconnected by any party, a wrapper class is used.
JChannelWrapper, JChannelManager
,
Serialized FormConstructor and Description |
---|
JGroupsBroadcastGroupConfiguration(org.jgroups.JChannel channel,
String channelName) |
JGroupsBroadcastGroupConfiguration(String jgroupsFile,
String channelName) |
Modifier and Type | Method and Description |
---|---|
BroadcastEndpointFactory |
createBroadcastEndpointFactory() |
String |
getGroupAddress() |
int |
getGroupPort() |
String |
getLocalBindAddress() |
int |
getLocalBindPort() |
public JGroupsBroadcastGroupConfiguration(String jgroupsFile, String channelName)
public JGroupsBroadcastGroupConfiguration(org.jgroups.JChannel channel, String channelName)
public BroadcastEndpointFactory createBroadcastEndpointFactory()
createBroadcastEndpointFactory
in interface BroadcastEndpointFactoryConfiguration
public String getLocalBindAddress()
getLocalBindAddress
in interface DiscoveryGroupConfigurationCompatibilityHelper
public int getLocalBindPort()
getLocalBindPort
in interface DiscoveryGroupConfigurationCompatibilityHelper
public String getGroupAddress()
getGroupAddress
in interface DiscoveryGroupConfigurationCompatibilityHelper
public int getGroupPort()
getGroupPort
in interface DiscoveryGroupConfigurationCompatibilityHelper
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.